Sergei Shtepa 8947833571 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>
2020-12-01 15:43:37 -05:00
..
2019-11-12 19:12:07 -07:00
2020-10-01 15:03:40 -04:00
2020-10-13 12:12:44 -07:00
2020-07-08 17:20:46 -06:00
2017-06-09 09:27:32 -06:00
2020-08-03 11:57:03 -07:00
2020-10-13 13:04:41 -07:00
2020-10-13 13:04:41 -07:00
2020-07-08 17:20:46 -06:00
2019-03-12 10:15:18 -07:00