diff options
author | Ming Lin <ming.l@ssi.samsung.com> | 2016-03-22 10:24:45 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-04-12 22:44:00 +0300 |
commit | 03b5929ebb20457e2fd13a701954efa2b2fb7ded (patch) | |
tree | 713f9e78c17354d097500c365f66342d09351115 /drivers/w1/w1_int.h | |
parent | 58b45602751ddf16e57170656670aa5a8f78eeca (diff) | |
download | linux-03b5929ebb20457e2fd13a701954efa2b2fb7ded.tar.xz |
nvme: rewrite discard support
This rewrites nvme_setup_discard() with blk_add_request_payload().
It allocates only the necessary amount(16 bytes) for the payload.
Signed-off-by: Ming Lin <ming.l@ssi.samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/w1/w1_int.h')
0 files changed, 0 insertions, 0 deletions