aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bio.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bio.c')
-rw-r--r--fs/bio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bio.c b/fs/bio.c
index ab423a1024ab..533266a5e584 100644
--- a/fs/bio.c
+++ b/fs/bio.c
@@ -722,7 +722,7 @@ static int __bio_copy_iov(struct bio *bio, struct bio_vec *iovecs,
722 722
723 while (bv_len && iov_idx < iov_count) { 723 while (bv_len && iov_idx < iov_count) {
724 unsigned int bytes; 724 unsigned int bytes;
725 char *iov_addr; 725 char __user *iov_addr;
726 726
727 bytes = min_t(unsigned int, 727 bytes = min_t(unsigned int,
728 iov[iov_idx].iov_len - iov_off, bv_len); 728 iov[iov_idx].iov_len - iov_off, bv_len);