diff options
author | Ming Lin <ming.l@ssi.samsung.com> | 2016-03-22 08:24:45 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-04-12 21:44:00 +0200 |
commit | 03b5929ebb20457e2fd13a701954efa2b2fb7ded (patch) | |
tree | 713f9e78c17354d097500c365f66342d09351115 /sound | |
parent | nvme: add helper nvme_map_len() (diff) | |
download | linux-03b5929ebb20457e2fd13a701954efa2b2fb7ded.tar.xz linux-03b5929ebb20457e2fd13a701954efa2b2fb7ded.zip |
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 'sound')
0 files changed, 0 insertions, 0 deletions