Skip to content
Commit 41ca1974 authored by Al Viro's avatar Al Viro
Browse files

autofs: get rid of pointless checks around ->count handling



* IS_ROOT can't be true for unlink or rmdir victim
* any positive autofs dentry has non-NULL autofs_dentry_ino()
* autofs symlink can't have ->count other than 1
* autofs empty directory can't have ->count other than 1

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent e509d6e9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment