diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2013-09-05 09:44:35 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-05 20:22:44 (GMT) |
commit | db14fc3abcd5dcc9b32ad5b9dd5b8f9e16295a39 (patch) | |
tree | 174f3dee50f4d89f893f3bca8937bd1837e265df /include/linux/dcache.h | |
parent | 01ddc4ede5f09cdaed015d49ab66eec179085a2e (diff) | |
download | linux-fsl-qoriq-db14fc3abcd5dcc9b32ad5b9dd5b8f9e16295a39.tar.xz |
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>
Diffstat (limited to 'include/linux/dcache.h')
0 files changed, 0 insertions, 0 deletions