diff options
author | Javier González <jg@lightnvm.io> | 2017-04-22 01:32:48 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-23 16:57:52 -0600 |
commit | be388d9fbd4e09582e31c3ee82a022e368208ae3 (patch) | |
tree | 7cd48c6139b78fb22d9a27cc4d49a4aa6af0e34b /drivers/soc | |
parent | 33db9fd46ea8e3e6d4757d99a3f97bd1a0c919f3 (diff) | |
download | linux-be388d9fbd4e09582e31c3ee82a022e368208ae3.tar.bz2 |
lightnvm: pblk: free metadata on line alloc failure
When a line allocation fails, for example, due to having too many bad
blocks, free its metadata correctly.
Fixes: a4bd217b4326 "lightnvm: physical block device (pblk) target"
Signed-off-by: Javier González <javier@cnexlabs.com>
Reviewed-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions