diff options
Diffstat (limited to 'fs/xfs/xfs_file.c')
-rw-r--r-- | fs/xfs/xfs_file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index f99d7fac5abf..c68517b0f248 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c | |||
@@ -269,6 +269,8 @@ xfs_file_dio_aio_read( | |||
269 | return -EINVAL; | 269 | return -EINVAL; |
270 | } | 270 | } |
271 | 271 | ||
272 | file_accessed(iocb->ki_filp); | ||
273 | |||
272 | /* | 274 | /* |
273 | * Locking is a bit tricky here. If we take an exclusive lock for direct | 275 | * Locking is a bit tricky here. If we take an exclusive lock for direct |
274 | * IO, we effectively serialise all new concurrent read IO to this file | 276 | * IO, we effectively serialise all new concurrent read IO to this file |
@@ -323,7 +325,6 @@ xfs_file_dio_aio_read( | |||
323 | } | 325 | } |
324 | xfs_rw_iunlock(ip, XFS_IOLOCK_SHARED); | 326 | xfs_rw_iunlock(ip, XFS_IOLOCK_SHARED); |
325 | 327 | ||
326 | file_accessed(iocb->ki_filp); | ||
327 | return ret; | 328 | return ret; |
328 | } | 329 | } |
329 | 330 | ||