Skip to content
Commit 78250c02 authored by Jens Axboe's avatar Jens Axboe
Browse files

block: make __blkdev_direct_IO_sync() support O_SYNC/DSYNC



Split the op setting code into a helper, use it in both places.

Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 72ecad22
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment