ocfs2: Update atime in splice read if necessary.
commit1962f39abbb2d5643a7d59169422661a2d58793d
authorTao Ma <tao.ma@oracle.com>
Fri, 19 Jun 2009 07:36:52 +0000 (19 15:36 +0800)
committerJoel Becker <joel.becker@oracle.com>
Mon, 22 Jun 2009 21:24:45 +0000 (22 14:24 -0700)
treea6d5f0566e10d9fd1417d9deda78ebe83b067ca2
parent1c520dfbf391e1617ef61553f815b8006a066c44
ocfs2: Update atime in splice read if necessary.

We should call ocfs2_inode_lock_atime instead of ocfs2_inode_lock
in ocfs2_file_splice_read like we do in ocfs2_file_aio_read so
that we can update atime in splice read if necessary.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/file.c