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: NJens Axboe <axboe@fb.com>
Showing
想要评论请 注册 或 登录
Split the op setting code into a helper, use it in both places.
Signed-off-by: NJens Axboe <axboe@fb.com>