ocfs2: update file system paths to set atime
Conditionally update atime in ocfs2_file_aio_read(), ocfs2_readdir() and ocfs2_mmap(). Signed-off-by: Tiger Yang <tiger.yang@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
This commit is contained in:

committed by
Mark Fasheh

vanhempi
7f1a37e31f
commit
25899deef4
@@ -126,6 +126,10 @@ static int ocfs2_readlink(struct dentry *dentry,
|
||||
goto out;
|
||||
}
|
||||
|
||||
/*
|
||||
* Without vfsmount we can't update atime now,
|
||||
* but we will update atime here ultimately.
|
||||
*/
|
||||
ret = vfs_readlink(dentry, buffer, buflen, link);
|
||||
|
||||
brelse(bh);
|
||||
|
Viittaa uudesa ongelmassa
Block a user