• Al Viro's avatar
    vfat: simplify checks in vfat_lookup() · f6ddc161
    Al Viro authored
    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: default avatarAl Viro <viro@zeniv.linux.org.uk>
    f6ddc161
namei_vfat.c 25.3 KB