switch touch_atime to struct path
[linux-block.git] / fs / cachefiles / namei.c
index a0358c2189cb5aba26de002d93727dedd5b7a3fe..7f0771d3894e7a17bbd01ec1bf9fc8c988918d08 100644 (file)
@@ -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 */