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
File Mode Size
ac97
ali5451
au88x0
aw2
ca0106
cs46xx
cs5535audio
ctxfi
echoaudio
emu10k1
hda
ice1712
korg1212
lx6464es
mixart
nm256
oxygen
pcxhr
riptide
rme9652
trident
vx222
ymfpci
Kconfig -rw-r--r-- 22.5 KB
Makefile -rw-r--r-- 2.1 KB
ad1889.c -rw-r--r-- 26.4 KB
ad1889.h -rw-r--r-- 7.9 KB
ak4531_codec.c -rw-r--r-- 17.1 KB
als300.c -rw-r--r-- 23.2 KB
als4000.c -rw-r--r-- 31.4 KB
atiixp.c -rw-r--r-- 45.4 KB
atiixp_modem.c -rw-r--r-- 35.9 KB
azt3328.c -rw-r--r-- 75.3 KB
azt3328.h -rw-r--r-- 15.5 KB
bt87x.c -rw-r--r-- 29.9 KB
cmipci.c -rw-r--r-- 102.2 KB
cs4281.c -rw-r--r-- 64.9 KB
cs5530.c -rw-r--r-- 7.1 KB
ens1370.c -rw-r--r-- 78.6 KB
ens1371.c -rw-r--r-- 38 bytes
es1938.c -rw-r--r-- 55.5 KB
es1968.c -rw-r--r-- 74.6 KB
fm801.c -rw-r--r-- 46.5 KB
intel8x0.c -rw-r--r-- 90.4 KB
intel8x0m.c -rw-r--r-- 37.6 KB
maestro3.c -rw-r--r-- 81.5 KB
rme32.c -rw-r--r-- 57.8 KB
rme96.c -rw-r--r-- 66.7 KB
sis7019.c -rw-r--r-- 38.8 KB
sis7019.h -rw-r--r-- 13.3 KB
sonicvibes.c -rw-r--r-- 51.8 KB
via82xx.c -rw-r--r-- 76.7 KB
via82xx_modem.c -rw-r--r-- 34.5 KB

back to top