summaryrefslogtreecommitdiff
path: root/drivers/lightnvm/pblk-sysfs.c
diff options
context:
space:
mode:
authorJavier González <javier@javigon.com>2018-10-09 14:11:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-24 10:20:50 +0300
commitd56fe8f59a236845ed3c90deba063780282ec2ba (patch)
tree65453483beab9c2584aa2a341313a74afef75943 /drivers/lightnvm/pblk-sysfs.c
parentc7e49f73152f246925285814a8b7dee5abbe944f (diff)
downloadlinux-d56fe8f59a236845ed3c90deba063780282ec2ba.tar.xz
lightnvm: pblk: guarantee emeta on line close
[ Upstream commit 9cc85bc761f83da41935cdd6edcdb7c122bc90bf ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/lightnvm/pblk-sysfs.c')
0 files changed, 0 insertions, 0 deletions