diff options
author | Max Gurtovoy <mgurtovoy@nvidia.com> | 2022-10-16 12:38:32 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2022-10-19 10:38:35 +0300 |
commit | a75243ae08d23272235cb26117464843538936b4 (patch) | |
tree | e1b232e9a4e35c0cf8c88ef48a1a298bb7208c3d /ipc/compat.c | |
parent | acc7d94ab431fb6f34e41588f2784410c2d9008e (diff) | |
download | linux-stable-a75243ae08d23272235cb26117464843538936b4.tar.gz linux-stable-a75243ae08d23272235cb26117464843538936b4.tar.bz2 linux-stable-a75243ae08d23272235cb26117464843538936b4.zip |
IB/iser: add safety checks for state_mutex lock
In some cases, we need to make sure that state_mutex is taken. Use
lockdep_assert_held to warn us in case it doesn't while it should.
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Link: https://lore.kernel.org/r/20221016093833.12537-3-mgurtovoy@nvidia.com
Reviewed-by: Sergey Gorenko <sergeygo@nvidia.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions