[GIT PULL] dlm updates for 6.1

From: David Teigland
Date: Mon Oct 03 2022 - 14:26:01 EST


Hi Linus,

Please pull dlm updates from tag:

git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm.git dlm-6.1

This set of commits includes:
. Fix a couple races found with a new torture test.
. Improve errors when api functions are used incorrectly.
. Improve tracing for lock requests from user space.
. Fix use after free in recently added tracing code.
. Small internal code cleanups.

Thanks,
Dave

Alexander Aring (16):
fs: dlm: fix race in lowcomms
fs: dlm: fix race between test_bit() and queue_work()
fs: dlm: handle -EBUSY first in lock arg validation
fs: dlm: handle -EBUSY first in unlock validation
fs: dlm: use __func__ for function name
fs: dlm: handle -EINVAL as log_error()
fs: dlm: fix invalid derefence of sb_lvbptr
fs: dlm: allow lockspaces have zero lvblen
fs: dlm: handle rcom in else if branch
fs: dlm: remove dlm_del_ast prototype
fs: dlm: change ls_clear_proc_locks to spinlock
fs: dlm: trace user space callbacks
fs: dlm: remove DLM_LSFL_FS from uapi
fs: dlm: LSFL_CB_DELAY only for kernel lockspaces
fs: dlm: const void resource name parameter
fs: dlm: fix possible use after free if tracing

drivers/md/md-cluster.c | 4 +-
fs/dlm/ast.c | 15 ++--
fs/dlm/ast.h | 1 -
fs/dlm/dlm_internal.h | 2 +-
fs/dlm/lock.c | 167 +++++++++++++++++++++++++++++----------------
fs/dlm/lock.h | 2 +-
fs/dlm/lockspace.c | 32 +++++++--
fs/dlm/lockspace.h | 13 ++++
fs/dlm/lowcomms.c | 4 ++
fs/dlm/user.c | 17 +++--
fs/gfs2/lock_dlm.c | 2 +-
fs/ocfs2/stack_user.c | 2 +-
include/linux/dlm.h | 5 +-
include/trace/events/dlm.h | 26 +++----
include/uapi/linux/dlm.h | 1 -
15 files changed, 193 insertions(+), 100 deletions(-)