summaryrefslogtreecommitdiff
path: root/drivers/lightnvm/pblk.h
diff options
context:
space:
mode:
authorHans Holmberg <hans.holmberg@cnexlabs.com>2019-02-11 13:25:03 +0100
committerJens Axboe <axboe@kernel.dk>2019-02-11 08:18:07 -0700
commit6916cf5426d08ea8be50ab4ba7ff86ea022cdff3 (patch)
tree7bdbb122c8415ac097d00a1a5a8e38cbd5b572ef /drivers/lightnvm/pblk.h
parentf9324980d7300f961e9895ad94d5ea71c0fe187e (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>
Diffstat (limited to 'drivers/lightnvm/pblk.h')
0 files changed, 0 insertions, 0 deletions