]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fold try_to_ascend() into the sole remaining caller
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 25 Oct 2013 21:04:27 +0000 (17:04 -0400)
committerJiri Slaby <jslaby@suse.cz>
Thu, 30 Oct 2014 21:17:27 +0000 (22:17 +0100)
commit316845a0eb891d1705917d3139a1005910563e5b
tree50b818592ce0ea1e43da18c71e79453cee655703
parente7f269e225873c08ec13c4f56d6dd2aa780a884c
fold try_to_ascend() into the sole remaining caller

commit 31dec1327e377b6d91a8a6c92b5cd8513939a233 upstream.

There used to be a bunch of tree-walkers in dcache.c, all alike.
try_to_ascend() had been introduced to abstract a piece of logics
duplicated in all of them.  These days all these tree-walkers are
implemented via the same iterator (d_walk()), which is the only
remaining caller of try_to_ascend(), so let's fold it back...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
fs/dcache.c