Skip to content

Commit eecf77e

Browse files
author
Al Viro
committed
autofs: should_expire() argument is guaranteed to be positive
Signed-off-by: Al Viro <[email protected]>
1 parent 64b2f34 commit eecf77e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/autofs/expire.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ static struct dentry *should_expire(struct dentry *dentry,
355355
return NULL;
356356
}
357357

358-
if (d_really_is_positive(dentry) && d_is_symlink(dentry)) {
358+
if (d_is_symlink(dentry)) {
359359
pr_debug("checking symlink %p %pd\n", dentry, dentry);
360360

361361
/* Forced expire, user space handles busy mounts */

0 commit comments

Comments
 (0)