Skip to content
Commit 6916cf54 authored by Hans Holmberg's avatar Hans Holmberg Committed by Jens Axboe
Browse files

lightnvm: pblk: use vfree to free metadata on error path



As chunk metadata is allocated using vmalloc, we need to free it
using vfree.

Fixes: 090ee26f ("lightnvm: use internal allocation for chunk log page")
Signed-off-by: default avatarHans Holmberg <hans.holmberg@cnexlabs.com>
Signed-off-by: default avatarMatias Bjørling <mb@lightnvm.io>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent f9324980
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment