]> git.baikalelectronics.ru Git - kernel.git/commit
block discard: use bio set op accessor
authorMike Christie <mchristi@redhat.com>
Sun, 5 Jun 2016 19:31:49 +0000 (14:31 -0500)
committerJens Axboe <axboe@fb.com>
Tue, 7 Jun 2016 19:41:38 +0000 (13:41 -0600)
commitbe266d6dbf4a8c9fe6cf0c48a3be2c43b368aaf1
tree63f09d57645da3ea07ff1634d4f2810fe12f3f89
parent42daf45f0b9db993a721bddd7933410592af3b8d
block discard: use bio set op accessor

This converts the block issue discard helper and users to use
the bio_set_op_attrs accessor and only pass in the operation flags
like REQ_SEQURE.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-lib.c
drivers/md/dm-thin.c
include/linux/blkdev.h