summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-04-05 19:20:59 +0200
committerJens Axboe <axboe@fb.com>2017-04-08 11:25:38 -0600
commit81d926e8b5520e38f1f72dd7bb7cfc81c1a69d87 (patch)
tree5480215876d9072e6381296428fa3465d52af273 /include
parent591c59d18f72c98ad7a992809c3a9a1789687845 (diff)
downloadlinux-81d926e8b5520e38f1f72dd7bb7cfc81c1a69d87.tar.bz2
sd: split sd_setup_discard_cmnd
Split sd_setup_discard_cmnd into one function per provisioning type. While this creates some very slight duplication of boilerplate code it keeps the code modular for additions of new provisioning types, and for reusing the write same functions for the upcoming scsi implementation of the Write Zeroes operation. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions