mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
build: fix compilation without lvmlockd
This commit is contained in:
parent
a520b3002c
commit
7a5ea681fb
@ -13,6 +13,7 @@
|
||||
|
||||
#include "libdaemon/client/config-util.h"
|
||||
#include "libdaemon/client/daemon-client.h"
|
||||
#include "lib/metadata/metadata-exported.h" /* is_lockd_type() */
|
||||
|
||||
#define LOCKD_SANLOCK_LV_NAME "lvmlock"
|
||||
|
||||
@ -182,7 +183,7 @@ static inline int lockd_global_create(struct cmd_context *cmd, const char *def_m
|
||||
return 1;
|
||||
}
|
||||
|
||||
static inline int lockd_global(struct cmd_context *cmd, const char *def_mode, uint32_t flags)
|
||||
static inline int lockd_global(struct cmd_context *cmd, const char *def_mode)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user