diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2013-09-05 11:44:35 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-05 16:22:44 -0400 |
commit | db14fc3abcd5dcc9b32ad5b9dd5b8f9e16295a39 (patch) | |
tree | 174f3dee50f4d89f893f3bca8937bd1837e265df /net/core/netevent.c | |
parent | 01ddc4ede5f09cdaed015d49ab66eec179085a2e (diff) | |
download | op-kernel-dev-db14fc3abcd5dcc9b32ad5b9dd5b8f9e16295a39.zip op-kernel-dev-db14fc3abcd5dcc9b32ad5b9dd5b8f9e16295a39.tar.gz |
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 'net/core/netevent.c')
0 files changed, 0 insertions, 0 deletions