Re: Re: Shrinking ext3 directories


On Sat, Jun 22, 2002 at 08:33:56PM +0200, Daniel Phillips <phillips@xxxxxxxx>
> On Saturday 22 June 2002 08:56, Andreas Dilger wrote:
> > One things of note - it is currently impossible to have a directory with
> > an i_size larger than 2GB, because i_size_high is really i_dir_acl
> > overloaded. Even though we don't need i_dir_acl anymore with EA's, all
> > of the older kernels would break if they mounted such a filesystem.
> > Whether they would be broken anyways trying to read a 2GB+ directory
> > is another question entirely.
> I was going to ask you about that earlier - where do we lose the sign
> bit?

lseek(SEEK_CUR) requires the ability to do relative seeks, so off_t
has to be signed. That's the only place which makes that restriction
afaik, but it affects everything.


Sponsored by:
ThinkGeek at