diff options
author | Hua Su <suhua.tanke@gmail.com> | 2018-12-11 22:16:18 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-12-11 22:22:34 +0300 |
commit | fde201a466c6ad5efd72cb54fdf2cefa8b6c6ad7 (patch) | |
tree | 94420f2360f69a9286473fafde212b50e82c606f /crypto | |
parent | 6e82f0ba00b0addeec27b3a95eb41e6223fc8c4f (diff) | |
download | linux-fde201a466c6ad5efd72cb54fdf2cefa8b6c6ad7.tar.xz |
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions