aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2017-04-05 19:18:09 +0200
committerJens Axboe <[email protected]>2017-04-05 12:05:08 -0600
commitf6324b1bb7f8d38c4f8be5509098e4b3ee0194b1 (patch)
tree06f620272881a64cd8dc095515a9b951cb50b457 /lib/netdev-notifier-error-inject.c
parent987f699a8f6c9a724e970c1bb4cde2e2c6a52010 (diff)
nvme: cleanup nvme_req_needs_retry
Don't pass the status explicitly but derive it from the requeust, and unwind the complex condition to be more readable. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions