summaryrefslogtreecommitdiff
path: root/tools/scripts
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2015-06-08 10:08:13 -0600
committerJens Axboe <axboe@fb.com>2015-06-27 11:42:48 -0600
commit4af0e21caf8e676e57ea27d7cce3426e473e498c (patch)
tree3fd31d7943eec6ec08cb915513ef71d9c67aa607 /tools/scripts
parentd2c3ac7e7e39ec6d37e4114ae7444948561e59af (diff)
downloadlinux-4af0e21caf8e676e57ea27d7cce3426e473e498c.tar.gz
NVMe: Fix device cleanup on initialization failure
Don't release block queue and tagging resoureces if the driver never got them in the first place. This can happen if the controller fails to become ready, if memory wasn't available to allocate a tagset or admin queue, or if the resources were released as part of error recovery. Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions