aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/indirect.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/indirect.c')
-rw-r--r--fs/ext4/indirect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/indirect.c b/fs/ext4/indirect.c
index eb5ae16902d0..123898a6af05 100644
--- a/fs/ext4/indirect.c
+++ b/fs/ext4/indirect.c
@@ -647,7 +647,7 @@ ssize_t ext4_ind_direct_IO(int rw, struct kiocb *iocb,
647 handle_t *handle; 647 handle_t *handle;
648 ssize_t ret; 648 ssize_t ret;
649 int orphan = 0; 649 int orphan = 0;
650 size_t count = iov_length(iter->iov, iter->nr_segs); 650 size_t count = iov_iter_count(iter);
651 int retries = 0; 651 int retries = 0;
652 652
653 if (rw == WRITE) { 653 if (rw == WRITE) {