diff options
author | Alexander Aring <aahringo@redhat.com> | 2022-11-22 09:48:01 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2022-11-22 10:14:26 -0600 |
commit | 7a5e9f1f83e3271a9f05933a80b870fe55ebbb3d (patch) | |
tree | 065482f5ec3fc034d8c0b5c6d11b8a66a1ee6eb5 /fs/btrfs/print-tree.c | |
parent | dbb751ffab0b764720e360efd642ba6bf076d87f (diff) |
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 <lkp@intel.com>
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/btrfs/print-tree.c')
0 files changed, 0 insertions, 0 deletions