diff options
| author | 2018-02-13 08:30:48 +1100 | |
|---|---|---|
| committer | 2018-02-16 15:13:32 +0100 | |
| commit | e9d4f0b9f55920821845b8e063ed593422c18d8a (patch) | |
| tree | 8075031a6510841eae523ae1d23da464be7e4f7e /include/linux | |
| parent | staging: lustre: llite: handle DCACHE_PAR_LOOKUP in ll_dcompare (diff) | |
staging: lustre: llite: use d_splice_alias for directories.
In the Linux dcache a directory only ever has one dentry,
so d_splice_alias() can be used by ll_splice_alias() for directories.
It will find the one dentry whether it is DCACHE_DISCONNECTED or
IS_ROOT() or d_lustre_invalid().
Separating out the directories from non-directories will allow us
to simplify the non-directory code.
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
