]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - fs/stat.c
switch touch_atime to struct path
[mirror_ubuntu-hirsute-kernel.git] / fs / stat.c
index 8806b8997d2efcfd73944df9f3695d40207fb6bf..86f13563a463bf4f00b27ae88e43af3019819495 100644 (file)
--- a/fs/stat.c
+++ b/fs/stat.c
@@ -307,7 +307,7 @@ SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname,
                if (inode->i_op->readlink) {
                        error = security_inode_readlink(path.dentry);
                        if (!error) {
-                               touch_atime(path.mnt, path.dentry);
+                               touch_atime(&path);
                                error = inode->i_op->readlink(path.dentry,
                                                              buf, bufsiz);
                        }