autofs: should_expire() argument is guaranteed to be positive

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2021-03-24 14:14:27 -04:00
Родитель 64b2f34f38
Коммит eecf77e097
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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 */