]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
vfs: add d_walk()
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 5 Sep 2013 09:44:35 +0000 (11:44 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 5 Sep 2013 20:22:44 +0000 (16:22 -0400)
commitdb14fc3abcd5dcc9b32ad5b9dd5b8f9e16295a39
tree174f3dee50f4d89f893f3bca8937bd1837e265df
parent01ddc4ede5f09cdaed015d49ab66eec179085a2e
vfs: add d_walk()

This one replaces three instances open coded tree walking (have_submounts,
select_parent, d_genocide) with a common helper.

In addition to slightly reducing the kernel size, this simplifies the
callers and makes them less bug prone.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c