mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
lvmlockd: fix warning
This commit is contained in:
parent
fc01dd8900
commit
657df00c96
@ -222,7 +222,7 @@ int lm_prepare_lockspace_dlm(struct lockspace *ls)
|
|||||||
|
|
||||||
#define DLM_COMMS_PATH "/sys/kernel/config/dlm/cluster/comms"
|
#define DLM_COMMS_PATH "/sys/kernel/config/dlm/cluster/comms"
|
||||||
#define LOCK_LINE_MAX 1024
|
#define LOCK_LINE_MAX 1024
|
||||||
static int get_local_nodeid()
|
static int get_local_nodeid(void)
|
||||||
{
|
{
|
||||||
struct dirent *de;
|
struct dirent *de;
|
||||||
DIR *ls_dir;
|
DIR *ls_dir;
|
||||||
|
Loading…
Reference in New Issue
Block a user