diff options
author | Keith Busch <keith.busch@intel.com> | 2016-02-24 16:15:55 (GMT) |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-03-03 21:42:49 (GMT) |
commit | f58944e265d4ebe47216a5d7488aee3928823d30 (patch) | |
tree | 57f2e0e81b2df9df68dd7d3223212570eef04474 /lib/ratelimit.c | |
parent | 646017a612e72f19bd9f991fe25287a149c5f627 (diff) | |
download | linux-f58944e265d4ebe47216a5d7488aee3928823d30.tar.xz |
NVMe: Simplify device reset failure
A reset failure schedules the device to unbind from the driver through
the pci driver's remove. This cleans up all intialization, so there is
no need to duplicate the potentially racy cleanup.
To help understand why a reset failed, the status is logged with the
existing warning message.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'lib/ratelimit.c')
0 files changed, 0 insertions, 0 deletions