aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/fuse/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index 7fbc803cf51d..b2dae9d1437c 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -1288,7 +1288,7 @@ static int fuse_get_user_pages(struct fuse_req *req, struct iov_iter *ii,
1288 size_t nbytes = 0; /* # bytes already packed in req */ 1288 size_t nbytes = 0; /* # bytes already packed in req */
1289 1289
1290 /* Special case for kernel I/O: can copy directly into the buffer */ 1290 /* Special case for kernel I/O: can copy directly into the buffer */
1291 if (ii->type & REQ_KERNEL) { 1291 if (ii->type & ITER_KVEC) {
1292 unsigned long user_addr = fuse_get_user_addr(ii); 1292 unsigned long user_addr = fuse_get_user_addr(ii);
1293 size_t frag_size = fuse_get_frag_size(ii, *nbytesp); 1293 size_t frag_size = fuse_get_frag_size(ii, *nbytesp);
1294 1294