diff options
author | Sage Weil <[email protected]> | 2011-07-26 11:30:29 -0700 |
---|---|---|
committer | Sage Weil <[email protected]> | 2011-07-26 11:30:29 -0700 |
commit | 5f21c96dd5c615341963036ae8f5e4f5227a818d (patch) | |
tree | 898c5781623b68527427d201e3f975827d08935c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 48d0cbd1242aac969560ef8b90f26ee3b09a6a5c (diff) |
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 <[email protected]>
Reviewed-by: Yehuda Sadeh <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions