nvme: factor out a few helpers from req_completion
authorChristoph Hellwig <hch@lst.de>
Sat, 28 Nov 2015 14:41:58 +0000 (15:41 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 22 Dec 2015 16:38:34 +0000 (09:38 -0700)
commit7688faa6dd2c99ce5d66571d9ad65535ec39e8cb
treec7e225f067d931754c400635cde063dba49e0ed1
parent4680072003df14230e9eeeeefb617401012234a5
nvme: factor out a few helpers from req_completion

We'll need them in other places later.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c