]> 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)
commit9c8ed41e1664d96a9106276f38e9e257af4202c3
tree63f09d57645da3ea07ff1634d4f2810fe12f3f89
parent8ce3b8bd254ade873a73f1055ff393c6e4aaf0a0
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