]> 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)
commit7aee8fd1eaa4c532341a4c4c8258ddef46bd23c2
treeb41cffd1ec9b9e2ba74f7080c386e95586818345
parentddc743268740a4f979302cf1dbefa693393316f0
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