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

[Cluster-devel] cluster/group/gfs_controld plock.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rpeterso sourceware org	2006-08-15 22:21:29

Modified files:
	group/gfs_controld: plock.c 

Log message:
	Fixed segfault in gfs_controld.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/plock.c.diff?cvsroot=cluster&r1=1.13&r2=1.14

--- cluster/group/gfs_controld/plock.c	2006/08/14 20:15:25	1.13
+++ cluster/group/gfs_controld/plock.c	2006/08/15 22:21:29	1.14
@@ -826,8 +826,10 @@
 	if (in->nodeid == our_nodeid)
 		write_result(mg, in, rv);
 
-	do_waiters(mg, r);
-	put_resource(r);
+	if (r) {
+		do_waiters(mg, r);
+		put_resource(r);
+	}
 }
 
 static void do_get(struct mountgroup *mg, struct gdlm_plock_info *in)


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