]> git.baikalelectronics.ru Git - kernel.git/commit
block: add a rq_dma_dir helper
authorChristoph Hellwig <hch@lst.de>
Sun, 3 Mar 2019 15:18:30 +0000 (08:18 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 5 Apr 2019 06:07:57 +0000 (08:07 +0200)
commit688b14fade8fc1253262479aea9cbfdda3c073c6
tree78ac5236bc0b996e69c8156b4d920693c9a72b7a
parent9d50964c8e410167a69fbb65c175e755737ab58c
block: add a rq_dma_dir helper

In a lot of places we want to know the DMA direction for a given
struct request.  Add a little helper to make it a littler easier.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
include/linux/blkdev.h