diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2018-08-03 04:35:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-20 20:00:13 +0300 |
commit | 714ab224a8db6e8255c61a42613de9349ceb0bba (patch) | |
tree | 1d665f2c18b78eb1ccb7457e6c123addaa82fc95 /drivers/lightnvm | |
parent | 7dbc3efb7430abdddf0be186bd0ad2611d767d23 (diff) | |
download | linux-714ab224a8db6e8255c61a42613de9349ceb0bba.tar.xz |
OPP: Protect dev_list with opp_table lock
[ Upstream commit 3d2556992a878a2210d3be498416aee39e0c32aa ]
The dev_list needs to be protected with a lock, else we may have
simultaneous access (addition/removal) to it and that would be racy.
Extend scope of the opp_table lock to protect dev_list as well.
Tested-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/lightnvm')
0 files changed, 0 insertions, 0 deletions