commit | 01ddc4ede5f09cdaed015d49ab66eec179085a2e | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Thu Sep 05 11:44:34 2013 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Sep 05 16:22:43 2013 -0400 |
tree | 360acfdd63f30ca9a52d1d46d39d7cbea044c98a | |
parent | a09e9a7a4b907f2dfa9bdb2b98a1828ab4b340b2 [diff] |
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 <mszeredi@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>