Commit eecf77e0 authored by Al Viro's avatar Al Viro

autofs: should_expire() argument is guaranteed to be positive

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 64b2f34f
......@@ -355,7 +355,7 @@ static struct dentry *should_expire(struct dentry *dentry,
return NULL;
}
if (d_really_is_positive(dentry) && d_is_symlink(dentry)) {
if (d_is_symlink(dentry)) {
pr_debug("checking symlink %p %pd\n", dentry, dentry);
/* Forced expire, user space handles busy mounts */
......
Markdown is supported
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