]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
deal with deadlock in d_walk()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 26 Oct 2014 23:31:10 +0000 (19:31 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Dec 2014 17:39:06 +0000 (09:39 -0800)
commit6c1fbfffec95fa42b134c45fe2b5afbd37ff623c
tree228163bbff4b1d78fa438b195b3ae9af0a7b0a0f
parent679829c2e50332832c2e85b12ec851a423ad9892
deal with deadlock in d_walk()

commit ca5358ef75fc69fee5322a38a340f5739d997c10 upstream.

... by not hitting rename_retry for reasons other than rename having
happened.  In other words, do _not_ restart when finding that
between unlocking the child and locking the parent the former got
into __dentry_kill().  Skip the killed siblings instead...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/dcache.c