]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - block/blk-lib.c
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)
commit469e3216e20a3946a292ff0414ab86de408d465e
tree63f09d57645da3ea07ff1634d4f2810fe12f3f89
parent95fe6c1a209ef89d9f94dd04a0ad72be1487d5d5
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