1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

build: fix compilation without lvmlockd

This commit is contained in:
Zdenek Kabelac 2019-05-03 12:35:22 +02:00
parent a520b3002c
commit 7a5ea681fb

View File

@ -13,6 +13,7 @@
#include "libdaemon/client/config-util.h" #include "libdaemon/client/config-util.h"
#include "libdaemon/client/daemon-client.h" #include "libdaemon/client/daemon-client.h"
#include "lib/metadata/metadata-exported.h" /* is_lockd_type() */
#define LOCKD_SANLOCK_LV_NAME "lvmlock" #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; 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; return 1;
} }