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

From: David Miller
Date: Thu Oct 15 2009 - 02:32:34 EST


From: npiggin@xxxxxxx
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@xxxxxxx>
> Signed-off-by: Nick Piggin <npiggin@xxxxxxx>

For networking bits:

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/