summaryrefslogtreecommitdiffstats
path: root/fs/fscache/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fscache/io.c')
-rw-r--r--fs/fscache/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fscache/io.c b/fs/fscache/io.c
index 3af3b08a9bb3..0d2b8dec8f82 100644
--- a/fs/fscache/io.c
+++ b/fs/fscache/io.c
@@ -286,7 +286,7 @@ void __fscache_write_to_cache(struct fscache_cookie *cookie,
* taken into account.
*/
- iov_iter_xarray(&iter, WRITE, &mapping->i_pages, start, len);
+ iov_iter_xarray(&iter, ITER_SOURCE, &mapping->i_pages, start, len);
fscache_write(cres, start, &iter, fscache_wreq_done, wreq);
return;