diff options
author | Christoph Hellwig <hch@lst.de> | 2017-03-30 13:41:32 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-04 09:48:23 -0600 |
commit | 77f02a7acd7654cd5944f2120831d1eace94b343 (patch) | |
tree | bee45db17a2a2f705c939f0769671008c3b3fda3 /block/blk-core.c | |
parent | 4bca70d0673927a8bef4b1de5fd8ddc735698a6b (diff) | |
download | op-kernel-dev-77f02a7acd7654cd5944f2120831d1eace94b343.zip op-kernel-dev-77f02a7acd7654cd5944f2120831d1eace94b343.tar.gz |
nvme: factor request completion code into a common helper
This avoids duplicating the logic four times, and it also allows to keep
some helpers static in core.c or just opencode them.
Note that this loses printing the aborted status on completions in the
PCI driver as that uses a data structure not available any more.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions