summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/target/io-cmd-file.c
diff options
context:
space:
mode:
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>2021-02-09 21:47:56 -0800
committerChristoph Hellwig <hch@lst.de>2021-02-10 16:38:05 +0100
commitd81d57cf1b4702b7c2fa8ce8f1d5c6961a0c20b5 (patch)
treec6dc382e3a0d32548a86e509d33a738471cd78e9 /drivers/nvme/target/io-cmd-file.c
parent3999434b6ce6fa452128c36cbb5017f0cd347615 (diff)
downloadlinux-d81d57cf1b4702b7c2fa8ce8f1d5c6961a0c20b5.tar.bz2
nvmet: add helper to report invalid opcode
In the NVMeOF block device backend, file backend, and passthru backend we reject and report the commands if opcode is not handled. Add an helper and use it in block device backend to keep the code and error message uniform. Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/target/io-cmd-file.c')
0 files changed, 0 insertions, 0 deletions