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

[Cluster-devel] cluster/gfs-kernel/src/gfs ops_super.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland sourceware org	2006-12-05 22:29:43

Modified files:
	gfs-kernel/src/gfs: ops_super.c 

Log message:
	When lockfs is called from the vfs (due to a dm suspend), don't try
	to do the lockfs if the fs is being shut down (due to a withdraw).
	bz 215962

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ops_super.c.diff?cvsroot=cluster&r1=1.25&r2=1.26

--- cluster/gfs-kernel/src/gfs/ops_super.c	2006/11/17 15:36:05	1.25
+++ cluster/gfs-kernel/src/gfs/ops_super.c	2006/12/05 22:29:43	1.26
@@ -227,6 +227,9 @@
 	struct gfs_sbd *sdp = get_v2sdp(sb);
 	int error;
 
+	if (test_bit(SDF_SHUTDOWN, &sdp->sd_flags))
+		return;
+
 	atomic_inc(&sdp->sd_ops_super);
 
 	for (;;) {


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