diff options
Diffstat (limited to 'fs/ntfs/file.c')
-rw-r--r-- | fs/ntfs/file.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c index 8639169221c..7389d2d5e51 100644 --- a/fs/ntfs/file.c +++ b/fs/ntfs/file.c | |||
@@ -2096,7 +2096,9 @@ static ssize_t ntfs_file_aio_write_nolock(struct kiocb *iocb, | |||
2096 | err = file_remove_suid(file); | 2096 | err = file_remove_suid(file); |
2097 | if (err) | 2097 | if (err) |
2098 | goto out; | 2098 | goto out; |
2099 | file_update_time(file); | 2099 | err = file_update_time(file); |
2100 | if (err) | ||
2101 | goto out; | ||
2100 | written = ntfs_file_buffered_write(iocb, iov, nr_segs, pos, ppos, | 2102 | written = ntfs_file_buffered_write(iocb, iov, nr_segs, pos, ppos, |
2101 | count); | 2103 | count); |
2102 | out: | 2104 | out: |