aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ntfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ntfs')
-rw-r--r--fs/ntfs/file.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c
index db9bd8a31725..b6fa457d8d01 100644
--- a/fs/ntfs/file.c
+++ b/fs/ntfs/file.c
@@ -2091,10 +2091,7 @@ static ssize_t ntfs_file_aio_write_nolock(struct kiocb *iocb,
2091 size_t count; /* after file limit checks */ 2091 size_t count; /* after file limit checks */
2092 ssize_t written, err; 2092 ssize_t written, err;
2093 2093
2094 count = 0; 2094 count = iov_length(iov, nr_segs);
2095 err = generic_segment_checks(iov, &nr_segs, &count, VERIFY_READ);
2096 if (err)
2097 return err;
2098 pos = *ppos; 2095 pos = *ppos;
2099 /* We can write back this queue in page reclaim. */ 2096 /* We can write back this queue in page reclaim. */
2100 current->backing_dev_info = mapping->backing_dev_info; 2097 current->backing_dev_info = mapping->backing_dev_info;