commit | fde201a466c6ad5efd72cb54fdf2cefa8b6c6ad7 | [log] [tgz] |
---|---|---|
author | Hua Su <suhua.tanke@gmail.com> | Tue Dec 11 20:16:18 2018 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Dec 11 12:22:34 2018 -0700 |
tree | 94420f2360f69a9286473fafde212b50e82c606f | |
parent | 6e82f0ba00b0addeec27b3a95eb41e6223fc8c4f [diff] |
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: Hua Su <suhua.tanke@gmail.com> Reviewed-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>