aboutsummaryrefslogtreecommitdiffstats
path: root/fs/autofs4/root.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/autofs4/root.c')
-rw-r--r--fs/autofs4/root.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c
index 48e056e70fd6..cb1bd38dc08c 100644
--- a/fs/autofs4/root.c
+++ b/fs/autofs4/root.c
@@ -204,8 +204,7 @@ static int try_to_fill_dentry(struct dentry *dentry, int flags)
204 } 204 }
205 205
206 /* Initialize expiry counter after successful mount */ 206 /* Initialize expiry counter after successful mount */
207 if (ino) 207 ino->last_used = jiffies;
208 ino->last_used = jiffies;
209 208
210 spin_lock(&sbi->fs_lock); 209 spin_lock(&sbi->fs_lock);
211 ino->flags &= ~AUTOFS_INF_PENDING; 210 ino->flags &= ~AUTOFS_INF_PENDING;