summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles/namei.c
diff options
context:
space:
mode:
authorAl Viro2012-03-15 13:21:57 +0100
committerAl Viro2012-03-21 02:29:41 +0100
commit68ac1234fb949b66941d94dce4157742799fc581 (patch)
tree04059b7dbaed92d672b8ceef1fcf25c6185e06f8 /fs/cachefiles/namei.c
parentswitch unix_sock to struct path (diff)
downloadkernel-qcow2-linux-68ac1234fb949b66941d94dce4157742799fc581.tar.gz
kernel-qcow2-linux-68ac1234fb949b66941d94dce4157742799fc581.tar.xz
kernel-qcow2-linux-68ac1234fb949b66941d94dce4157742799fc581.zip
switch touch_atime to struct path
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cachefiles/namei.c')
-rw-r--r--fs/cachefiles/namei.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cachefiles/namei.c b/fs/cachefiles/namei.c
index a0358c2189cb..7f0771d3894e 100644
--- a/fs/cachefiles/namei.c
+++ b/fs/cachefiles/namei.c
@@ -646,7 +646,8 @@ lookup_again:
* (this is used to keep track of culling, and atimes are only
* updated by read, write and readdir but not lookup or
* open) */
- touch_atime(cache->mnt, next);
+ path.dentry = next;
+ touch_atime(&path);
}
/* open a file interface onto a data file */