From: Al Viro Date: Sun, 26 Oct 2014 23:31:10 +0000 (-0400) Subject: deal with deadlock in d_walk() X-Git-Tag: v3.2.66~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d5a2e6775fadc4ac5b7a1a5cbcdec1bffc0b142;p=pandora-kernel.git 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 [bwh: Backported to 3.2: - As we only have try_to_ascend() and not d_walk(), apply this change to all callers of try_to_ascend() - Adjust context to make __dentry_kill() apply to d_kill()] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed