summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-11-21 16:18:18 +0100
committerJens Axboe <axboe@fb.com>2016-11-21 17:35:05 +0100
commit93c5bdf7ab71bbdae27f8f51fa175e06f000d69d (patch)
tree1a71e55964b3063436a362eba6bbf75e3e52217f /block/blk-core.c
parentpktcdvd: mark as unmaintained and deprecated (diff)
downloadlinux-93c5bdf7ab71bbdae27f8f51fa175e06f000d69d.tar.xz
linux-93c5bdf7ab71bbdae27f8f51fa175e06f000d69d.zip
block: clear all of bi_opf in bio_set_op_attrs
Since commit 87374179 ("block: add a proper block layer data direction encoding") we only or the new op and flags into bi_opf in bio_set_op_attrs instead of clearing the old value. I've not seen any breakage with the new behavior, but it seems dangerous. Also convert it to an inline function to make the argument passing safer. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions