diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-04-25 16:32:51 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-05-13 18:09:14 +0200 |
commit | f6ddc16175f637915e27ded7588b59d187131ad0 (patch) | |
tree | 86f821d9ebbb1ec51329cf187fa6517c28f5b455 /fs/xattr.c | |
parent | get rid of dead code in d_find_alias() (diff) | |
download | linux-f6ddc16175f637915e27ded7588b59d187131ad0.tar.xz linux-f6ddc16175f637915e27ded7588b59d187131ad0.zip |
vfat: simplify checks in vfat_lookup()
vfat_d_anon_disconn() is called only if alias->d_parent is equal to
dentry->d_parent *and* it returns false unless alias->d_parent == alias.
But in that case alias is the directory we are doing lookup in, and
d_splice_alias() would've done the right thing.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/xattr.c')
0 files changed, 0 insertions, 0 deletions