Skip to content
Commit 3b02d670 authored by Sergei Shtepa's avatar Sergei Shtepa Committed by Greg Kroah-Hartman
Browse files

dm: fix bug with RCU locking in dm_blk_report_zones



commit 89478335 upstream.

The dm_get_live_table() function makes RCU read lock so
dm_put_live_table() must be called even if dm_table map is not found.

Fixes: e76239a3 ("block: add a report_zones method")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarSergei Shtepa <sergei.shtepa@veeam.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7eb51408
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment