https://github.com/torvalds/linux
Revision a3a065e3f13da8a3470ed09c7f38aad256083726 authored by Nick Piggin on 18 November 2009, 04:30:19 UTC, committed by Al Viro on 17 December 2009, 15:51:40 UTC
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>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent b9aff02
History
Tip revision: a3a065e3f13da8a3470ed09c7f38aad256083726 authored by Nick Piggin on 18 November 2009, 04:30:19 UTC
fs: no games with DCACHE_UNHASHED
Tip revision: a3a065e

back to top