switch touch_atime to struct path

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2012-03-15 08:21:57 -04:00
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);
}