Home
last modified time | relevance | path

Searched hist:"5441 ae5e" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/9p/
H A Dvfs_inode_dotl.c5441ae5e Mon Jul 25 13:06:32 CDT 2011 Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> 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>
5441ae5e Mon Jul 25 13:06:32 CDT 2011 Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> 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>
H A Dvfs_inode.c5441ae5e Mon Jul 25 13:06:32 CDT 2011 Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> 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>
5441ae5e Mon Jul 25 13:06:32 CDT 2011 Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> 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>