diff options
| author | Alexander Aring <[email protected]> | 2022-11-22 14:48:01 +0000 |
|---|---|---|
| committer | David Teigland <[email protected]> | 2022-11-22 16:14:26 +0000 |
| commit | 7a5e9f1f83e3271a9f05933a80b870fe55ebbb3d (patch) | |
| tree | 065482f5ec3fc034d8c0b5c6d11b8a66a1ee6eb5 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | fs: dlm: parallelize lowcomms socket handling (diff) | |
| download | kernel-7a5e9f1f83e3271a9f05933a80b870fe55ebbb3d.tar.gz kernel-7a5e9f1f83e3271a9f05933a80b870fe55ebbb3d.zip | |
fs: dlm: fix building without lockdep
This patch uses assert_spin_locked() instead of lockdep_is_held()
where it's available to use because lockdep_is_held() is only available
if CONFIG_LOCKDEP is set.
In other cases like lockdep_sock_is_held() we surround it by a
CONFIG_LOCKDEP idef.
Fixes: dbb751ffab0b ("fs: dlm: parallelize lowcomms socket handling")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Alexander Aring <[email protected]>
Signed-off-by: David Teigland <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
