commit | 6916cf5426d08ea8be50ab4ba7ff86ea022cdff3 | [log] [tgz] |
---|---|---|
author | Hans Holmberg <hans.holmberg@cnexlabs.com> | Mon Feb 11 13:25:03 2019 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Feb 11 08:18:07 2019 -0700 |
tree | 7bdbb122c8415ac097d00a1a5a8e38cbd5b572ef | |
parent | f9324980d7300f961e9895ad94d5ea71c0fe187e [diff] |
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: 090ee26fd512 ("lightnvm: use internal allocation for chunk log page") Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>