commit | d81d57cf1b4702b7c2fa8ce8f1d5c6961a0c20b5 | [log] [tgz] |
---|---|---|
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | Tue Feb 09 21:47:56 2021 -0800 |
committer | Christoph Hellwig <hch@lst.de> | Wed Feb 10 16:38:05 2021 +0100 |
tree | c6dc382e3a0d32548a86e509d33a738471cd78e9 | |
parent | 3999434b6ce6fa452128c36cbb5017f0cd347615 [diff] |
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>