diff options
author | Zhao Heming <heming.zhao@suse.com> | 2020-09-27 13:40:13 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-29 09:58:01 +0100 |
commit | a47cecbd2816edb72583a545e9ea6cb1736886d8 (patch) | |
tree | 35b4cbc599987537b96d838d0f2183c38157e562 /block/blk-core.c | |
parent | 44e2bc80a6ece3163c0a557022bc6094c3453fb7 (diff) |
md/bitmap: fix memory leak of temporary bitmap
[ Upstream commit 1383b347a8ae4a69c04ae3746e6cb5c8d38e2585 ]
Callers of get_bitmap_from_slot() are responsible to free the bitmap.
Suggested-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Signed-off-by: Zhao Heming <heming.zhao@suse.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions