commit | 0934ce87b588a3da657b41804bf07518103875a4 | [log] [tgz] |
---|---|---|
author | Hans Holmberg <hans.holmberg@cnexlabs.com> | Tue Dec 11 20:16:15 2018 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Dec 11 12:22:34 2018 -0700 |
tree | a0546e51aa0b85eed524eadb813eb88872db5367 | |
parent | c9a1d640d519b40d00dac850d1f17a7df1954689 [diff] |
lightnvm: pblk: fix pblk_lines_init error handling path The chunk metadata is allocated with vmalloc, so we need to use vfree to free it. Fixes: 090ee26fd512 ("lightnvm: use internal allocation for chunk log page") Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com> Reviewed-by: Javier González <javier@javigon.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>