This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
master - dlm_controld: fix plock dump
- From: David Teigland <teigland at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Fri, 24 Oct 2008 21:35:43 +0000 (UTC)
- Subject: master - dlm_controld: fix plock dump
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=f93dace36f7d9fe717bb532cdf3e86d68c33a352
Commit: f93dace36f7d9fe717bb532cdf3e86d68c33a352
Parent: 4da4bb4a6af7cfc0d68374f104fe0d3df17b81bd
Author: David Teigland <teigland@redhat.com>
AuthorDate: Fri Oct 24 16:19:42 2008 -0500
Committer: David Teigland <teigland@redhat.com>
CommitterDate: Fri Oct 24 16:20:53 2008 -0500
dlm_controld: fix plock dump
The size of a plock dump was always zero so nothing would be sent.
Signed-off-by: David Teigland <teigland@redhat.com>
---
group/dlm_controld/plock.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/group/dlm_controld/plock.c b/group/dlm_controld/plock.c
index bb47b05..0f57fe6 100644
--- a/group/dlm_controld/plock.c
+++ b/group/dlm_controld/plock.c
@@ -2146,6 +2146,7 @@ int fill_plock_dump_buf(struct lockspace *ls)
}
}
out:
+ plock_dump_len = pos;
return rv;
}