]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
zns: return response with status to errno conversion
authorGollu Appalanaidu <anaidu.gollu@samsung.com>
Wed, 7 Apr 2021 11:15:02 +0000 (16:45 +0530)
committerKeith Busch <kbusch@kernel.org>
Wed, 7 Apr 2021 12:36:05 +0000 (06:36 -0600)
commit040e9f5ea7063a2ef883eee42f03f59065fcc2d5
treeff74605c2e509f24d1c3261c7ff7fdd9b2b4b980
parent61f899b27d6a72b0a429f354fcfa7b23aef0f206
zns: return response with status to errno conversion

Currently ZNS plugin nvme device status code 15 bits
being returned to shell which will take only 8 bits.
Convert the nvme status code to linux standard errno
with the help of status_to_errno function and return.

Signed-off-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
plugins/zns/zns.c