diff options
author | Javier González <javier@javigon.com> | 2018-10-09 13:11:45 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-10-09 16:25:06 +0200 |
commit | 9cc85bc761f83da41935cdd6edcdb7c122bc90bf (patch) | |
tree | 5dcd03a5affc93a3bdfa7c989a436e56f3635882 /include | |
parent | lightnvm: pblk: remove unused variable. (diff) | |
download | linux-9cc85bc761f83da41935cdd6edcdb7c122bc90bf.tar.xz linux-9cc85bc761f83da41935cdd6edcdb7c122bc90bf.zip |
lightnvm: pblk: guarantee emeta on line close
If a line is recovered from open chunks, the memory structures for
emeta have not necessarily been properly set on line initialization.
When closing a line, make sure that emeta is consistent so that the line
can be recovered on the fast path on next reboot.
Also, remove a couple of empty lines at the end of the function.
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions