[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/gfs-kernel/src/gfs incore.h lm.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland sourceware org	2006-09-12 18:24:27

Modified files:
	gfs-kernel/src/gfs: incore.h lm.c 

Log message:
	undo junk mistakenly added by last commit

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/incore.h.diff?cvsroot=cluster&r1=1.27&r2=1.28
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/lm.c.diff?cvsroot=cluster&r1=1.15&r2=1.16

--- cluster/gfs-kernel/src/gfs/incore.h	2006/09/12 18:21:17	1.27
+++ cluster/gfs-kernel/src/gfs/incore.h	2006/09/12 18:24:27	1.28
@@ -947,8 +947,6 @@
 #define SDF_FOUND_Q_DUMP        (12) /* Recovery found qutoa tags */
 #define SDF_IN_LOG_DUMP         (13) /* Serializes log dumps */
 
-#define SDF_UNMOUNTING		(14)
-
 /* Glock cache */
 #define GFS_GL_HASH_SHIFT       (13)    /* # hash buckets = 8K */
 #define GFS_GL_HASH_SIZE        (1 << GFS_GL_HASH_SHIFT)
--- cluster/gfs-kernel/src/gfs/lm.c	2006/09/12 18:21:17	1.15
+++ cluster/gfs-kernel/src/gfs/lm.c	2006/09/12 18:24:27	1.16
@@ -159,10 +159,8 @@
 	int ret;
 	if (unlikely(test_bit(SDF_SHUTDOWN, &sdp->sd_flags)))
 		ret = 0;
-	else if (test_bit(SDF_UNMOUNTING, &sdp->sd_flags)) /* && LM_UNMOUNT_UNLOCK */
-		ret = 0;
 	else
-		ret =  sdp->sd_lockstruct.ls_ops->lm_unlock(lock, cur_state);
+		ret = sdp->sd_lockstruct.ls_ops->lm_unlock(lock, cur_state);
 	return ret;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]