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

[Cluster-devel] cluster/dlm/lib libdlm.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	pcaulfield sourceware org	2006-07-12 07:47:47

Modified files:
	dlm/lib        : libdlm.c 

Log message:
	Don't lose the end of a lock name

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm/lib/libdlm.c.diff?cvsroot=cluster&r1=1.31&r2=1.32

--- cluster/dlm/lib/libdlm.c	2006/06/15 09:34:42	1.31
+++ cluster/dlm/lib/libdlm.c	2006/07/12 07:47:47	1.32
@@ -619,7 +619,7 @@
     {
 	memcpy(req->i.lock.lvb, lksb->sb_lvbptr, DLM_LVB_LEN);
     }
-    len = sizeof(struct dlm_write_request) + namelen - 1;
+    len = sizeof(struct dlm_write_request) + namelen;
     lksb->sb_status = EINPROG;
 
     if (flags & LKF_WAIT)


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