This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master in repository sanlock.
commit 4a9f303429a01a0dda441a03c1c08fb9ac5dd5da Author: David Teigland teigland@redhat.com AuthorDate: Tue Dec 12 13:52:51 2023 -0600
sanlock: fix direct_next_free missing init --- src/direct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/direct.c b/src/direct.c index 7e00c52..f3ea7d1 100644 --- a/src/direct.c +++ b/src/direct.c @@ -860,7 +860,7 @@ int direct_next_free(struct task *task, char *path) struct leader_record lr; struct sync_disk sd; uint64_t sector_nr; - int sector_size, sector_count, datalen, align_size; + int sector_size = 0, sector_count, datalen, align_size = 0; int rv;
memset(&sd, 0, sizeof(struct sync_disk));
sanlock-devel@lists.fedorahosted.org