summaryrefslogtreecommitdiffstats
path: root/firmware/bnx2
diff options
context:
space:
mode:
authorMike Snitzer2010-06-03 19:34:52 +0200
committerJens Axboe2010-06-04 13:47:06 +0200
commitc86d1b8ae622e1ea5d20e98bd72fbd7d9dd69016 (patch)
tree92353647c38f99ee4b8bf6a29b9ae632c7be14e7 /firmware/bnx2
parentpipe: change /proc/sys/fs/pipe-max-pages to byte sized interface (diff)
downloadkernel-qcow2-linux-c86d1b8ae622e1ea5d20e98bd72fbd7d9dd69016.tar.gz
kernel-qcow2-linux-c86d1b8ae622e1ea5d20e98bd72fbd7d9dd69016.tar.xz
kernel-qcow2-linux-c86d1b8ae622e1ea5d20e98bd72fbd7d9dd69016.zip
block: avoid unconditionally freeing previously allocated request_queue
On blk_init_allocated_queue_node failure, only free the request_queue if it is wasn't previously allocated outside the block layer (e.g. blk_init_queue_node was blk_init_allocated_queue_node caller). This addresses an interface bug introduced by the following commit: 01effb0 block: allow initialization of previously allocated request_queue Otherwise the request_queue may be free'd out from underneath a caller that is managing the request_queue directly (e.g. caller uses blk_alloc_queue + blk_init_allocated_queue_node). Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'firmware/bnx2')
0 files changed, 0 insertions, 0 deletions