diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-03-24 14:14:27 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-03-24 14:14:27 -0400 |
commit | eecf77e097d27d26fe289d172b2e98433a8989f4 (patch) | |
tree | ea9ed8728f72f164c9fd4a2c78795a36db5e10bf /fs/autofs | |
parent | 64b2f34f38cb999597570e09e04aa6e4c3fed07e (diff) | |
download | linux-eecf77e097d27d26fe289d172b2e98433a8989f4.tar.gz |
autofs: should_expire() argument is guaranteed to be positive
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/autofs')
-rw-r--r-- | fs/autofs/expire.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs/expire.c b/fs/autofs/expire.c index a1c7701007e7..b3fefd6237c3 100644 --- a/fs/autofs/expire.c +++ b/fs/autofs/expire.c @@ -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 */ |