diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2021-02-09 21:47:56 -0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-02-10 16:38:05 +0100 |
commit | d81d57cf1b4702b7c2fa8ce8f1d5c6961a0c20b5 (patch) | |
tree | c6dc382e3a0d32548a86e509d33a738471cd78e9 /samples | |
parent | 3999434b6ce6fa452128c36cbb5017f0cd347615 (diff) | |
download | linux-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 'samples')
0 files changed, 0 insertions, 0 deletions