diff options
Diffstat (limited to 'fs/ntfs')
-rw-r--r-- | fs/ntfs/file.c | 4 | ||||
-rw-r--r-- | fs/ntfs/inode.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c index 8639169221c7..7389d2d5e51d 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: |
diff --git a/fs/ntfs/inode.c b/fs/ntfs/inode.c index 2eaa66652944..c6dbd3db6ca8 100644 --- a/fs/ntfs/inode.c +++ b/fs/ntfs/inode.c | |||
@@ -2258,7 +2258,7 @@ void ntfs_evict_big_inode(struct inode *vi) | |||
2258 | ntfs_inode *ni = NTFS_I(vi); | 2258 | ntfs_inode *ni = NTFS_I(vi); |
2259 | 2259 | ||
2260 | truncate_inode_pages(&vi->i_data, 0); | 2260 | truncate_inode_pages(&vi->i_data, 0); |
2261 | end_writeback(vi); | 2261 | clear_inode(vi); |
2262 | 2262 | ||
2263 | #ifdef NTFS_RW | 2263 | #ifdef NTFS_RW |
2264 | if (NInoDirty(ni)) { | 2264 | if (NInoDirty(ni)) { |