switch touch_atime to struct path
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -642,7 +642,7 @@ follow_link(struct path *link, struct nameidata *nd, void **p)
|
||||
cond_resched();
|
||||
current->total_link_count++;
|
||||
|
||||
touch_atime(link->mnt, dentry);
|
||||
touch_atime(link);
|
||||
nd_set_link(nd, NULL);
|
||||
|
||||
error = security_inode_follow_link(link->dentry, nd);
|
||||
|
||||
Reference in New Issue
Block a user