aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-02-13 08:30:48 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-16 15:15:08 +0100
commit7e08e9a8942dfc38693edf2e389cde620e918356 (patch)
treebfebad4d652dd55212c133ae95d7e309f9308af2 /include/linux
parentstaging: lustre: llite: remove directory-specific code from ll_find_alias() (diff)
staging: lustre: llite: simplify ll_find_alias()
Now that ll_find_alias is only searching for one type of dentry, we can return as soon as we find it. This allows substantial simplification, and brings the bonus that we don't need to take the d_lock again just to increment the ref-count. We can increment it immediately that the dentry is found. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions