[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:	teigland sourceware org	2006-08-14 20:15:25

Modified files:
	group/gfs_controld: plock.c 

Log message:
	remove a couple log_error's

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

--- cluster/group/gfs_controld/plock.c	2006/08/09 19:35:26	1.12
+++ cluster/group/gfs_controld/plock.c	2006/08/14 20:15:25	1.13
@@ -1086,7 +1086,8 @@
 		goto out_close;
 	}
 	if (rv != SA_AIS_OK) {
-		log_error("unlink ckpt close error %d %s", rv, mg->name);
+		/* should this be log_error */
+		log_group(mg, "unlink ckpt close error %d", rv);
 		ret = -1;
 	}
 
@@ -1333,7 +1334,10 @@
 			  iov.readSize);
 		section_len = iov.readSize;
 
-		if (!section_len || section_len % sizeof(struct pack_plock)) {
+		if (!section_len)
+		       continue;
+
+		if (section_len % sizeof(struct pack_plock)) {
 			log_error("retrieve_plocks: bad section len %d %s",
 				  section_len, mg->name);
 			continue;


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