mbox series

[0/1] Bug with RCU locking in dm_blk_report_zones()

Message ID 1605099346-3199-1-git-send-email-sergei.shtepa@veeam.com (mailing list archive)
Headers show
Series Bug with RCU locking in dm_blk_report_zones() | expand

Message

Sergei Shtepa Nov. 11, 2020, 12:55 p.m. UTC
The dm_get_live_table() function makes RCU read lock and
dm_put_live_table() should call even when dm_table map was not found.

Sergei Shtepa (1):
  Fix bug with RCU locking in dm_blk_report_zones().

 drivers/md/dm.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)