use less confusing names for iov_iter direction initializers
[linux-block.git] / fs / fscache / io.c
index 3af3b08a9bb3f1ba21b249d48586145911bf7863..0d2b8dec8f82cd040391b01f814e175cc39eeae9 100644 (file)
@@ -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;