diff options
author | Sagi Grimberg <[email protected]> | 2019-08-02 18:11:42 -0700 |
---|---|---|
committer | Sagi Grimberg <[email protected]> | 2019-09-12 08:50:45 -0700 |
commit | 331813f687ed41347b2b7dc784d81ccdbf6f9157 (patch) | |
tree | 6967b4f059054186ceb29d35fed216cc3a3a644b /lib/test_overflow.c | |
parent | 2f9c173647753b81eed7c198abf7622ab22dc49d (diff) |
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 <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: James Smart <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions