[Cluster-devel] [PATCH v2 -next] dlm: debug_fs: use DEFINE_MUTEX() for mutex lock

2021-01-04 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init() Signed-off-by: Zheng Yongjun --- fs/dlm/debug_fs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/dlm/debug_fs.c b/fs/dlm/debug_fs.c index d6bbccb0ed15

[Cluster-devel] [PATCH v2 -next] dlm: use DEFINE_MUTEX() for mutex lock

2021-01-04 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- fs/dlm/lockspace.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/dlm/lockspace.c b/fs/dlm/lockspace.c index 624617c12250

[Cluster-devel] [PATCH -next] dlm: use DEFINE_MUTEX (and mutex_init() had been too late)

2021-01-04 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- fs/dlm/lockspace.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/dlm/lockspace.c b/fs/dlm/lockspace.c index 624617c12250..2b3c32f2d29d 100644 --- a/fs/dlm/lockspace.c +++ b/fs/dlm/lockspace.c @@ -26,7 +26,7 @@ #include "

[Cluster-devel] [PATCH -next] dlm: debug_fs: use DEFINE_MUTEX (and mutex_init() had been too late)

2021-01-04 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- fs/dlm/debug_fs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/dlm/debug_fs.c b/fs/dlm/debug_fs.c index d6bbccb0ed15..7a6fa8ac6f50 100644 --- a/fs/dlm/debug_fs.c +++ b/fs/dlm/debug_fs.c @@ -20,7 +20,7 @@ #define DLM_DEBUG_BUF_LEN

[Cluster-devel] [PATCH -next] fs: dlm: Fix build error without DEBUG_LOCK_ALLOC

2022-11-23 Thread Zheng Yongjun
this. Fixes: dbb751ffab0b ("fs: dlm: parallelize lowcomms socket handling") Signed-off-by: Zheng Yongjun --- fs/dlm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/dlm/Kconfig b/fs/dlm/Kconfig index 1105ce3c80cb..90a0861e7a29 100644 --- a/fs/dlm/Kconfig +++ b/fs/dlm/Kconf