Re: [patch 2/6] fs: no games with DCACHE_UNHASHED

David Miller
2009-10-15T06:31:46Z

From: npiggin@suse.de
Date: Thu, 15 Oct 2009 15:40:28 +1100

> (this is in -mm)
>
> Filesystems outside the regular namespace do not have to clear DCACHE_UNHASHED
> in order to have a working /proc/$pid/fd/XXX. Nothing in proc prevents the
> fd link from being used if its dentry is not in the hash.
>
> Also, it does not get put into the dcache hash if DCACHE_UNHASHED is clear;
> that depends on the filesystem calling d_add or d_rehash.
>
> So delete the misleading comments and needless code.
>
> Acked-by: Miklos Szeredi <mszeredi@suse.cz>
> Signed-off-by: Nick Piggin <npiggin@suse.de>

For networking bits:

Acked-by: David S. Miller <davem@davemloft.net>