projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pull-work.iov_iter-base' of git://git.kernel.org/pub/scm/linux/kernel...
[platform/kernel/linux-starfive.git]
/
block
/
fops.c
diff --git
a/block/fops.c
b/block/fops.c
index
92ee820
..
a564cd8
100644
(file)
--- a/
block/fops.c
+++ b/
block/fops.c
@@
-37,7
+37,7
@@
static blk_opf_t dio_bio_write_op(struct kiocb *iocb)
blk_opf_t opf = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE;
/* avoid the need for a I/O completion work item */
- if (iocb
->ki_flags & IOCB_DSYNC
)
+ if (iocb
_is_dsync(iocb)
)
opf |= REQ_FUA;
return opf;
}