diff options
author | 2011-07-25 18:06:32 +0000 | |
---|---|---|
committer | 2011-09-06 08:17:14 -0500 | |
commit | 5441ae5eb3614d3c28f77073370738a2820c88e4 (patch) | |
tree | eb61016b762edb343051e5724527eb1484555085 /kernel/irq/pm.c | |
parent | Linux 3.1-rc5 (diff) | |
download | wireguard-linux-5441ae5eb3614d3c28f77073370738a2820c88e4.tar.xz wireguard-linux-5441ae5eb3614d3c28f77073370738a2820c88e4.zip |
fs/9p: Add fid before dentry instantiation
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>
Diffstat (limited to 'kernel/irq/pm.c')
0 files changed, 0 insertions, 0 deletions