summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-table.c
diff options
context:
space:
mode:
authorSergei Shtepa <sergei.shtepa@veeam.com>2020-11-11 13:55:46 +0100
committerMike Snitzer <snitzer@redhat.com>2020-12-01 21:43:37 +0100
commit89478335718c98557f10470a9bc5c555b9261c4e (patch)
treee4243248ed7bea5d95ce51c9eee1e670b9fa0bea /drivers/md/dm-table.c
parentRevert "dm cache: fix arm link errors with inline" (diff)
downloadlinux-89478335718c98557f10470a9bc5c555b9261c4e.tar.xz
linux-89478335718c98557f10470a9bc5c555b9261c4e.zip
dm: fix bug with RCU locking in dm_blk_report_zones
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: e76239a3748c9 ("block: add a report_zones method") Cc: stable@vger.kernel.org Signed-off-by: Sergei Shtepa <sergei.shtepa@veeam.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions