diff options
author | 2011-01-18 12:06:04 +0800 | |
---|---|---|
committer | 2011-01-18 01:21:26 -0500 | |
commit | c14cc63a63e94d490ac6517a555113c30d420db4 (patch) | |
tree | 4769517c39eedbbeaedc7a73636d7c65c0de5a38 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband (diff) | |
download | wireguard-linux-c14cc63a63e94d490ac6517a555113c30d420db4.tar.xz wireguard-linux-c14cc63a63e94d490ac6517a555113c30d420db4.zip |
autofs4 - fix get_next_positive_dentry()
The initialization condition in fs/autofs4/expire.c:get_next_positive_dentry()
appears to be incorrect. If prev == NULL I believe that root should be
returned.
Further down, at the current dentry check for it being simple_positive()
it looks like the d_lock for dentry p should be dropped instead of dentry
ret, otherwise when p is assinged to ret we end up with no lock on p and
a lost lock on ret, which leads to a deadlock.
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions