]> git.baikalelectronics.ru Git - kernel.git/commit
autofs4 - fix lockdep splat in autofs
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 22 Aug 2011 03:52:28 +0000 (11:52 +0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 14 Feb 2012 01:45:37 +0000 (20:45 -0500)
commite3562dc55d2e3e8978698d25b00e63a454cae4eb
tree5173ccf565587797c62b290331ce53dfcb2fc305
parente8e6c653dc822bbb2dd0bb0368f6b4769f6b1752
autofs4 - fix lockdep splat in autofs

When recursing down the locks when traversing a tree/list in
get_next_positive_dentry() or get_next_positive_subdir() a lock can
change from being nested to being a parent which breaks lockdep. This
patch tells lockdep about what we did.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Ian Kent <raven@themaw.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/autofs4/expire.c