summaryrefslogtreecommitdiff
path: root/fs/hfsplus/bnode.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-07-26 22:30:29 +0400
committerSage Weil <sage@newdream.net>2011-07-26 22:30:29 +0400
commit5f21c96dd5c615341963036ae8f5e4f5227a818d (patch)
tree898c5781623b68527427d201e3f975827d08935c /fs/hfsplus/bnode.c
parent48d0cbd1242aac969560ef8b90f26ee3b09a6a5c (diff)
downloadlinux-5f21c96dd5c615341963036ae8f5e4f5227a818d.tar.xz
ceph: protect access to d_parent
d_parent is protected by d_lock: use it when looking up a dentry's parent directory inode. Also take a reference and drop it in the caller to avoid a use-after-free. Reported-by: Al Viro <viro@ZenIV.linux.org.uk> Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/hfsplus/bnode.c')
0 files changed, 0 insertions, 0 deletions