mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
locking: fix cluster lock_resource fn prototype
This commit is contained in:
parent
1cb66fe16e
commit
21bc118d4d
@ -33,7 +33,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#ifndef CLUSTER_LOCKING_INTERNAL
|
||||
int lock_resource(struct cmd_context *cmd, const char *resource, uint32_t flags);
|
||||
int lock_resource(struct cmd_context *cmd, const char *resource, uint32_t flags, struct logical_volume *lv __attribute__((unused)));
|
||||
int query_resource(const char *resource, int *mode);
|
||||
void locking_end(void);
|
||||
int locking_init(int type, struct dm_config_tree *cf, uint32_t *flags);
|
||||
|
Loading…
Reference in New Issue
Block a user