aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/pblk-init.c
diff options
context:
space:
mode:
authorHua Su <[email protected]>2018-12-11 19:16:18 +0000
committerJens Axboe <[email protected]>2018-12-11 19:22:34 +0000
commitfde201a466c6ad5efd72cb54fdf2cefa8b6c6ad7 (patch)
tree94420f2360f69a9286473fafde212b50e82c606f /drivers/lightnvm/pblk-init.c
parentlightnvm: pblk: fix spelling in comment (diff)
downloadkernel-fde201a466c6ad5efd72cb54fdf2cefa8b6c6ad7.tar.gz
kernel-fde201a466c6ad5efd72cb54fdf2cefa8b6c6ad7.zip
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 <[email protected]> Reviewed-by: Javier González <[email protected]> Signed-off-by: Matias Bjørling <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/lightnvm/pblk-init.c')
0 files changed, 0 insertions, 0 deletions