diff options
Diffstat (limited to 'mm/filemap.c')
-rw-r--r-- | mm/filemap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index 21e5abfbcdf6..51070f1f1b52 100644 --- a/mm/filemap.c +++ b/mm/filemap.c | |||
@@ -2463,7 +2463,9 @@ ssize_t __generic_file_aio_write(struct kiocb *iocb, const struct iovec *iov, | |||
2463 | if (err) | 2463 | if (err) |
2464 | goto out; | 2464 | goto out; |
2465 | 2465 | ||
2466 | file_update_time(file); | 2466 | err = file_update_time(file); |
2467 | if (err) | ||
2468 | goto out; | ||
2467 | 2469 | ||
2468 | /* coalesce the iovecs and go direct-to-BIO for O_DIRECT */ | 2470 | /* coalesce the iovecs and go direct-to-BIO for O_DIRECT */ |
2469 | if (unlikely(file->f_flags & O_DIRECT)) { | 2471 | if (unlikely(file->f_flags & O_DIRECT)) { |