From: Miklos Szeredi Date: Thu, 5 Sep 2013 09:44:34 +0000 (+0200) Subject: vfs: restructure d_genocide() X-Git-Tag: v3.12-rc1~105^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01ddc4ede5f09cdaed015d49ab66eec179085a2e;p=pandora-kernel.git vfs: restructure d_genocide() It shouldn't matter when we decrement the refcount during the walk as long as we do it exactly once. Restructure d_genocide() to do the killing on entering the dentry instead of when leaving it. This helps creating a common helper for tree walking. Signed-off-by: Miklos Szeredi Signed-off-by: Al Viro --- Reading git-diff-tree failed