aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2019-08-02 18:11:42 -0700
committerSagi Grimberg <sagi@grimberg.me>2019-09-12 08:50:45 -0700
commit331813f687ed41347b2b7dc784d81ccdbf6f9157 (patch)
tree6967b4f059054186ceb29d35fed216cc3a3a644b /include
parentnvme: pass status to nvme_error_status (diff)
downloadlinux-dev-331813f687ed41347b2b7dc784d81ccdbf6f9157.tar.xz
linux-dev-331813f687ed41347b2b7dc784d81ccdbf6f9157.zip
nvme: make nvme_identify_ns propagate errors back
right now callers of nvme_identify_ns only know that it failed, but don't know why. Make nvme_identify_ns propagate the error back. Because nvme_submit_sync_cmd may return a positive status code, we make nvme_identify_ns receive the id by reference and return that status up the call chain, but make sure not to leak positive nvme status codes to the upper layers. Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: James Smart <james.smart@broadcom.com> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions