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

From: Marko Kreen (marko@l-t.ee)
Date: Tue Sep 26 2000 - 17:16:20 EST


On Tue, Sep 26, 2000 at 05:29:27PM -0400, Alexander Viro wrote:
> Comments and help in testing are more than welcome.

There is something fishy in ext2_empty_dir:

+ /* check for . and .. */
+ if (de->name[0] != '.')
+ goto not_empty;
+ if (!de->name[1]) {
+ if (de->inode !=
+ le32_to_cpu(inode->i_ino))
+ goto not_empty;
+ } else if (de->name[2])
+ goto not_empty;
+ else if (de->name[1] != '.')
+ goto not_empty;

-- 
marko

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:18 EST