Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

autofs: should_expire() argument is guaranteed to be positive

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro eecf77e0 64b2f34f

+1 -1
+1 -1
fs/autofs/expire.c
··· 355 355 return NULL; 356 356 } 357 357 358 - if (d_really_is_positive(dentry) && d_is_symlink(dentry)) { 358 + if (d_is_symlink(dentry)) { 359 359 pr_debug("checking symlink %p %pd\n", dentry, dentry); 360 360 361 361 /* Forced expire, user space handles busy mounts */