diff options
author | Nick Piggin <npiggin@suse.de> | 2009-11-18 05:30:19 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-12-17 10:51:40 -0500 |
commit | a3a065e3f13da8a3470ed09c7f38aad256083726 (patch) | |
tree | 03e36f66709fe3d1679b0f0036f2ad3449d92dee /include | |
parent | b9aff027b2c1d6019d237382c78fd396f9de2ea5 (diff) | |
download | op-kernel-dev-a3a065e3f13da8a3470ed09c7f38aad256083726.zip op-kernel-dev-a3a065e3f13da8a3470ed09c7f38aad256083726.tar.gz |
fs: no games with DCACHE_UNHASHED
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions