]> sourceware.org Git - lvm2.git/commitdiff
lvmlockd: Fix arguments when built without sanlock
authorMarian Csontos <mcsontos@redhat.com>
Tue, 18 Dec 2018 15:59:48 +0000 (16:59 +0100)
committerMarian Csontos <mcsontos@redhat.com>
Tue, 18 Dec 2018 16:42:22 +0000 (17:42 +0100)
(cherry picked from commit 24254ca86671ae49431e67788c039603fe4b79fb)

daemons/lvmlockd/lvmlockd-internal.h

index 04645fad95c52862575765fd1fd4f4fb13924cbd..ead30985b097986086b325cc7559d5c6c08486a1 100644 (file)
@@ -504,7 +504,7 @@ static inline int lm_init_vg_sanlock(char *ls_name, char *vg_name, uint32_t flag
        return -1;
 }
 
-static inline int lm_init_lv_sanlock(char *ls_name, char *vg_name, char *lv_name, char *vg_args, char *lv_args, int sector_size, int align_size, uint64_t free_offset)
+static inline int lm_init_lv_sanlock(char *ls_name, char *vg_name, char *lv_name, char *vg_args, char *lv_args, uint64_t free_offset)
 {
        return -1;
 }
@@ -592,7 +592,7 @@ static inline int lm_is_running_sanlock(void)
        return 0;
 }
 
-static inline int lm_find_free_lock_sanlock(struct lockspace *ls, uint64_t *free_offset, int *sector_size, int *align_size)
+static inline int lm_find_free_lock_sanlock(struct lockspace *ls, uint64_t *free_offset)
 {
        return -1;
 }
This page took 0.037188 seconds and 5 git commands to generate.