Skip to content
Commit fde201a4 authored by Hua Su's avatar Hua Su Committed by Jens Axboe
Browse files

lightnvm: pblk: add lock protection to list operations



Protect the list_add on the pblk_line_init_bb() error
path in case this code is used for some other purpose
in the future.

Signed-off-by: default avatarHua Su <suhua.tanke@gmail.com>
Reviewed-by: default avatarJavier González <javier@cnexlabs.com>
Signed-off-by: default avatarMatias Bjørling <mb@lightnvm.io>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 6e82f0ba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment