diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-04-25 10:32:51 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-05-13 12:09:14 -0400 |
commit | f6ddc16175f637915e27ded7588b59d187131ad0 (patch) | |
tree | 86f821d9ebbb1ec51329cf187fa6517c28f5b455 /fs/xattr.c | |
parent | 61fec493c9df7958f8417e1e2f6530a614ee619a (diff) | |
download | lwn-f6ddc16175f637915e27ded7588b59d187131ad0.tar.gz lwn-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