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

[Cluster-devel] Re: dlm: constify a couple of DLM calls



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.


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