diff options
| author | NeilBrown <[email protected]> | 2018-02-13 08:30:48 +1100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-02-16 15:13:32 +0100 |
| commit | e9d4f0b9f55920821845b8e063ed593422c18d8a (patch) | |
| tree | 8075031a6510841eae523ae1d23da464be7e4f7e /tools/perf/scripts/python | |
| parent | a22c3d41d187dc3cdaf41166ef0a20b8663fdfee (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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions