mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
fs: dlm: const void resource name parameter
The resource name parameter should never be changed by DLM so we declare it as const. At some point it is handled as a char pointer, a resource name can be a non printable ascii string as well. This patch change it to handle it as void pointer as it is offered by DLM API. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
This commit is contained in:
committed by
David Teigland
parent
9cb16d4271
commit
56171e0db2
@@ -131,7 +131,7 @@ int dlm_lock(dlm_lockspace_t *lockspace,
|
||||
int mode,
|
||||
struct dlm_lksb *lksb,
|
||||
uint32_t flags,
|
||||
void *name,
|
||||
const void *name,
|
||||
unsigned int namelen,
|
||||
uint32_t parent_lkid,
|
||||
void (*lockast) (void *astarg),
|
||||
|
||||
Reference in New Issue
Block a user