summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
diff options
context:
space:
mode:
authorMing Lei <minlei@redhat.com>2017-08-02 08:01:45 +0800
committerJens Axboe <axboe@kernel.dk>2017-08-02 08:23:57 -0600
commit1ad43c0078b79a76accd0fe64062e47b3430dc6b (patch)
tree480939827df51b046781e8d2f16def36f6412e0c /arch/arm64/boot/dts/marvell/armada-37xx.dtsi
parent46d556e6aaa0ec4dc83648ab1ca3d01dd2fa3ea3 (diff)
downloadlinux-1ad43c0078b79a76accd0fe64062e47b3430dc6b.tar.gz
linux-1ad43c0078b79a76accd0fe64062e47b3430dc6b.tar.xz
blk-mq: don't leak preempt counter/q_usage_counter when allocating rq failed
When blk_mq_get_request() failed, preempt counter isn't released, and blk_mq_make_request() doesn't release the counter too. This patch fixes the issue, and makes sure that preempt counter is only held if rq is allocated successfully. The same policy is applied on .q_usage_counter too. Signed-off-by: Ming Lei <minlei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/arm64/boot/dts/marvell/armada-37xx.dtsi')
0 files changed, 0 insertions, 0 deletions