]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: helper for uring-passthrough checks
authorKanchan Joshi <joshi.k@samsung.com>
Fri, 20 May 2022 09:06:29 +0000 (14:36 +0530)
committerJens Axboe <axboe@kernel.dk>
Fri, 20 May 2022 12:17:33 +0000 (06:17 -0600)
commit00fc2eeb15acc7f7e8713edc6d4d9855936226cb
treeb41cffd1ec9b9e2ba74f7080c386e95586818345
parenta327c341dc65e38af7a2398e7313e6f2c4a813db
nvme: helper for uring-passthrough checks

Factor out a helper consolidating the error checks, and fix typo in a
comment too. This is in preparation to support admin commands on this
path.

Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220520090630.70394-2-joshi.k@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/ioctl.c