switch touch_atime to struct path

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2012-03-15 08:21:57 -04:00
parent 40ffe67d2e
commit 68ac1234fb
8 changed files with 21 additions and 19 deletions

View File

@@ -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);
}