https://github.com/torvalds/linux
Revision 5441ae5eb3614d3c28f77073370738a2820c88e4 authored by Aneesh Kumar K.V on 25 July 2011, 18:06:32 UTC, committed by Eric Van Hensbergen on 06 September 2011, 13:17:14 UTC
d_instantiate marks the dentry positive. So a parallel lookup and mkdir of
the directory can find dentry that doesn't have fid attached. This can result
in both the code path doing v9fs_fid_add which results in v9fs_dentry leak.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
1 parent ddf2835
History
Tip revision: 5441ae5eb3614d3c28f77073370738a2820c88e4 authored by Aneesh Kumar K.V on 25 July 2011, 18:06:32 UTC
fs/9p: Add fid before dentry instantiation
Tip revision: 5441ae5
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.6 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 196.2 KB
Makefile -rw-r--r-- 52.3 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top