Blame SOURCES/lvm2-2_03_03-lvmlockd-Fix-arguments-when-built-without-sanlock.patch

146ac4
 daemons/lvmlockd/lvmlockd-internal.h | 4 ++--
146ac4
 1 file changed, 2 insertions(+), 2 deletions(-)
146ac4
146ac4
diff --git a/daemons/lvmlockd/lvmlockd-internal.h b/daemons/lvmlockd/lvmlockd-internal.h
146ac4
index d8048d8..a2280b8 100644
146ac4
--- a/daemons/lvmlockd/lvmlockd-internal.h
146ac4
+++ b/daemons/lvmlockd/lvmlockd-internal.h
146ac4
@@ -502,7 +502,7 @@ static inline int lm_init_vg_sanlock(char *ls_name, char *vg_name, uint32_t flag
146ac4
 	return -1;
146ac4
 }
146ac4
 
146ac4
-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)
146ac4
+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)
146ac4
 {
146ac4
 	return -1;
146ac4
 }
146ac4
@@ -590,7 +590,7 @@ static inline int lm_is_running_sanlock(void)
146ac4
 	return 0;
146ac4
 }
146ac4
 
146ac4
-static inline int lm_find_free_lock_sanlock(struct lockspace *ls, uint64_t *free_offset, int *sector_size, int *align_size)
146ac4
+static inline int lm_find_free_lock_sanlock(struct lockspace *ls, uint64_t *free_offset)
146ac4
 {
146ac4
 	return -1;
146ac4
 }