summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/autofs/expire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs/expire.c b/fs/autofs/expire.c
index 295feec10ea6..41855cdc5630 100644
--- a/fs/autofs/expire.c
+++ b/fs/autofs/expire.c
@@ -467,7 +467,7 @@ struct dentry *autofs_expire_indirect(struct super_block *sb,
* things have changed.
*/
flags &= ~AUTOFS_EXP_LEAVES;
- found = should_expire(expired, mnt, timeout, how);
+ found = should_expire(expired, mnt, timeout, flags);
if (!found || found != expired)
/* Something has changed, continue */
goto next;