]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
block: make __blkdev_direct_IO_sync() support O_SYNC/DSYNC
authorJens Axboe <axboe@fb.com>
Thu, 17 Nov 2016 16:50:47 +0000 (17:50 +0100)
committerJens Axboe <axboe@fb.com>
Thu, 17 Nov 2016 20:35:05 +0000 (13:35 -0700)
commit78250c02d9739b5b20f1884f8c1b30efc2f861e4
treedb9c1d866205fe695e6358d3534bfacabe3a1366
parent72ecad22d9f198aafee64218512e02ffa7818671
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: Jens Axboe <axboe@fb.com>
fs/block_dev.c