Skip to contentSkip to conversation

cluster/dlm/lib libdlm.c

Cluster-devel [email protected] 1 participant 1 message Jul 12, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at 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

dlm/lib/libdlm.c +1 -1
@@ -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)