···646646 * (this is used to keep track of culling, and atimes are only647647 * updated by read, write and readdir but not lookup or648648 * open) */649649- touch_atime(cache->mnt, next);649649+ path.dentry = next;650650+ touch_atime(&path);650651 }651652652653 /* open a file interface onto a data file */
···14991499 * This function automatically handles read only file systems and media,15001500 * as well as the "noatime" flag and inode specific "noatime" markers.15011501 */15021502-void touch_atime(struct vfsmount *mnt, struct dentry *dentry)15021502+void touch_atime(struct path *path)15031503{15041504- struct inode *inode = dentry->d_inode;15041504+ struct vfsmount *mnt = path->mnt;15051505+ struct inode *inode = path->dentry->d_inode;15051506 struct timespec now;1506150715071508 if (inode->i_flags & S_NOATIME)