diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index 48e056e70fd6be807bb40655e6009656d1744eb4..cb1bd38dc08cb10c47650e1e08c2a8fe13730ab2 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) } /* Initialize expiry counter after successful mount */ - if (ino) - ino->last_used = jiffies; + ino->last_used = jiffies; spin_lock(&sbi->fs_lock); ino->flags &= ~AUTOFS_INF_PENDING;