]> git.hungrycats.org Git - linux/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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 29 Jan 2015 14:45:17 +0000 (15:45 +0100)
commit453d9a0b262839fa598dac2cec8cbf6175bbc5d5
tree9f1f46db05c8ae9ff3a28c69be2f2f73472adcc4
parent4b2f6663ebde6bed50209a05041b34c203116253
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>
Acked-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
fs/dcache.c