diff options
Diffstat (limited to 'mm/filemap.c')
| -rw-r--r-- | mm/filemap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index 5fca2737c971..a965b6b35f26 100644 --- a/mm/filemap.c +++ b/mm/filemap.c | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | #include <linux/compiler.h> | 15 | #include <linux/compiler.h> |
| 16 | #include <linux/fs.h> | 16 | #include <linux/fs.h> |
| 17 | #include <linux/aio.h> | 17 | #include <linux/aio.h> |
| 18 | #include <linux/capability.h> | ||
| 18 | #include <linux/kernel_stat.h> | 19 | #include <linux/kernel_stat.h> |
| 19 | #include <linux/mm.h> | 20 | #include <linux/mm.h> |
| 20 | #include <linux/swap.h> | 21 | #include <linux/swap.h> |
| @@ -2108,7 +2109,7 @@ __generic_file_aio_write_nolock(struct kiocb *iocb, const struct iovec *iov, | |||
| 2108 | if (err) | 2109 | if (err) |
| 2109 | goto out; | 2110 | goto out; |
| 2110 | 2111 | ||
| 2111 | inode_update_time(inode, 1); | 2112 | file_update_time(file); |
| 2112 | 2113 | ||
| 2113 | /* coalesce the iovecs and go direct-to-BIO for O_DIRECT */ | 2114 | /* coalesce the iovecs and go direct-to-BIO for O_DIRECT */ |
| 2114 | if (unlikely(file->f_flags & O_DIRECT)) { | 2115 | if (unlikely(file->f_flags & O_DIRECT)) { |
