From 0a3f99f4f2d7a1949cef8241cf19207a316c2fd0 Mon Sep 17 00:00:00 2001
From: yury <yury>
Date: Fri, 27 Apr 2007 16:08:36 +0000
Subject: [PATCH] - removed duplicated LC_CONFIG_CDEBUG from lustre, renamed
 LC_CONFIG_CDEBUG in lnet to LN_CONFIG_CDEBUG - from Umka and Shadow; - fixed
 deadlock in mdt_close() - patch from Mike; - fixed unknown mode in mdt_open()
 - patch from Fanyong; - fixed freeing of not allocated context in
 ptlrpc_main() - patch from Umka; - fixed hanging in OST and further issues
 with module unloading - patch from Shadow; - fixed hanging on umount with -f
 - patch from Shadow;

---
 build/autoconf/lustre-build.m4 | 2 --
 lnet/autoconf/lustre-lnet.m4   | 6 +++---
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/build/autoconf/lustre-build.m4 b/build/autoconf/lustre-build.m4
index bf770e14bb..c0cd70d3a9 100644
--- a/build/autoconf/lustre-build.m4
+++ b/build/autoconf/lustre-build.m4
@@ -523,8 +523,6 @@ LC_CONFIG_CLIENT_SERVER
 # three macros for cmd3 
 LC_CONFIG_SPLIT
 LC_CONFIG_LDISKFS
-LC_CONFIG_CDEBUG
-
 LB_CONFIG_MODULES
 
 LC_CONFIG_LIBLUSTRE
diff --git a/lnet/autoconf/lustre-lnet.m4 b/lnet/autoconf/lustre-lnet.m4
index 5ffe7f91d2..b1950ec08d 100644
--- a/lnet/autoconf/lustre-lnet.m4
+++ b/lnet/autoconf/lustre-lnet.m4
@@ -42,11 +42,11 @@ fi
 ])
 
 #
-# LC_CONFIG_CDEBUG
+# LN_CONFIG_CDEBUG
 #
 # whether to enable various libcfs debugs (CDEBUG, ENTRY/EXIT, LASSERT, etc.)
 #
-AC_DEFUN([LC_CONFIG_CDEBUG],
+AC_DEFUN([LN_CONFIG_CDEBUG],
 [
 AC_MSG_CHECKING([whether to enable CDEBUG, CWARN])
 AC_ARG_ENABLE([libcfs_cdebug],
@@ -1092,7 +1092,7 @@ LB_LINUX_TRY_COMPILE([
 #
 AC_DEFUN([LN_PROG_LINUX],
 [
-LC_CONFIG_CDEBUG
+LN_CONFIG_CDEBUG
 LN_FUNC_CPU_ONLINE
 LN_TYPE_GFP_T
 LN_TYPE_CPUMASK_T
-- 
GitLab