On Wed, Oct 07, 2009 at 03:37:18AM +0100, Ben Hutchings wrote: > This is my suggested change, so far only compile-tested: > > --- a/fs/hfsplus/wrapper.c > +++ b/fs/hfsplus/wrapper.c > @@ -99,6 +99,10 @@ > > if (hfsplus_get_last_session(sb, &part_start, &part_size)) > return -EINVAL; > + if (part_start + part_size >= 0x100000000) { > + pr_err("hfs: volumes larger than 2TB are not supported yet\n"); > + return -EINVAL; > + }
minor point, but maybe s/hfs/hfsplus/ ? > while (1) { > bh = sb_bread512(sb, part_start + HFSPLUS_VOLHEAD_SECTOR, vhdr); > if (!bh) > --- END --- > > Ben. > -- dann frazier -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org