From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Teigland Date: Fri, 13 Jun 2008 09:44:36 -0500 Subject: [Cluster-devel] Re: dlm: constify a couple of DLM calls In-Reply-To: <1213367742.4011.38.camel@quoit> References: <1213367742.4011.38.camel@quoit> Message-ID: <20080613144436.GA7183@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Fri, Jun 13, 2008 at 03:35:42PM +0100, Steven Whitehouse wrote: > > This patch adds some consts to the DLM in a few places. This means that > the interfaces to new lockspace and the lock commands can take const > pointers for the lock space name and lock name respectively. I noticed > that the lock name is a void * in the header file, but a char * > internally to DLM. Perhaps the interface and the internal type should be > changed to match? Thanks, I'll add this to dlm.git. In theory resource names can be binary blobs, but in practice we assume they're strings to print them.