Re: [CFT][PATCH] ext2 directories in pagecache

Alexander Viro
2000-09-26T23:33:10Z

On Tue, 26 Sep 2000, Andreas Dilger wrote:

> Al Viro writes:
> > Folks, give it a try - just keep decent backups. Similar code will
> > have to go into UFS in 2.4 and that (ext2) variant may be of interest for
> > 2.4.<late>/2.5.<early> timeframe.
>
> Haven't tested it yet, but just reading over the patch - in ext2_lookup():
>
> if (dentry->d_name.len > UFS_MAXNAMLEN)
> return ERR_PTR(-ENAMETOOLONG)
>
> should probably be changed back to:
>
> if (dentry->d_name.len > EXT2_NAME_LEN)
> return ERR_PTR(-ENAMETOOLONG)

Grrr... It shows the ancestry - it's a ported UFS patch. Thanks for spotting,
I'll fix that.