projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
[platform/kernel/linux-rpi.git]
/
fs
/
block_dev.c
diff --git
a/fs/block_dev.c
b/fs/block_dev.c
index
38b8ce0
..
a80b4f0
100644
(file)
--- a/
fs/block_dev.c
+++ b/
fs/block_dev.c
@@
-349,7
+349,7
@@
__blkdev_direct_IO(struct kiocb *iocb, struct iov_iter *iter, int nr_pages)
dio->size = 0;
dio->multi_bio = false;
dio->size = 0;
dio->multi_bio = false;
- dio->should_dirty = is_read &&
(iter->type == ITER_IOVEC
);
+ dio->should_dirty = is_read &&
iter_is_iovec(iter
);
blk_start_plug(&plug);
for (;;) {
blk_start_plug(&plug);
for (;;) {