commit | 538af88ea7d9de241e6b6f006e9049c4d96723bb | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagi@grimberg.me> | Fri Aug 02 18:16:12 2019 -0700 |
committer | Sagi Grimberg <sagi@grimberg.me> | Thu Sep 12 08:50:45 2019 -0700 |
tree | e6fe7dc6d0861c7a3e8136fe4daa5573d455ad94 | |
parent | 331813f687ed41347b2b7dc784d81ccdbf6f9157 [diff] |
nvme: make nvme_report_ns_ids propagate error back Make the callers check the return status and propagate back accordingly (casting to errno from a positive nvme status). Also print the return status in nvme_report_ns_ids. Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: James Smart <james.smart@broadcom.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>