diff options
Diffstat (limited to 'fs/autofs4/symlink.c')
-rw-r--r-- | fs/autofs4/symlink.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/autofs4/symlink.c b/fs/autofs4/symlink.c index f27c094a1919..1e8ea192be2b 100644 --- a/fs/autofs4/symlink.c +++ b/fs/autofs4/symlink.c | |||
@@ -14,6 +14,10 @@ | |||
14 | 14 | ||
15 | static void *autofs4_follow_link(struct dentry *dentry, struct nameidata *nd) | 15 | static void *autofs4_follow_link(struct dentry *dentry, struct nameidata *nd) |
16 | { | 16 | { |
17 | struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); | ||
18 | struct autofs_info *ino = autofs4_dentry_ino(dentry); | ||
19 | if (ino && !autofs4_oz_mode(sbi)) | ||
20 | ino->last_used = jiffies; | ||
17 | nd_set_link(nd, dentry->d_inode->i_private); | 21 | nd_set_link(nd, dentry->d_inode->i_private); |
18 | return NULL; | 22 | return NULL; |
19 | } | 23 | } |