mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-18 12:19:11 +08:00
autofs: should_expire() argument is guaranteed to be positive
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user