diff --git a/fs/autofs/expire.c b/fs/autofs/expire.c index 295feec10ea6a7730b1291f59a456ff8d4617d34..41855cdc56308e9ad7ef7573fd196e9f8bb2ae72 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;