lizardfs/0001-Fix-32-bit-build-for-m...

30 lines
721 B
Diff

From 05a3396180c170c6de2b6841f16852d0673090ca Mon Sep 17 00:00:00 2001
From: Jonathan Dieter <jdieter@gmail.com>
Date: Fri, 10 Aug 2018 09:58:34 +0200
Subject: [PATCH] Fix 32-bit build for mfsmount3
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
---
src/mount/lizard_client.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/mount/lizard_client.h b/src/mount/lizard_client.h
index 0c08b7fc..20928d77 100644
--- a/src/mount/lizard_client.h
+++ b/src/mount/lizard_client.h
@@ -249,7 +249,11 @@ struct EntryParam {
}
Inode ino;
+#if FUSE_USE_VERSION >= 30
+ uint64_t generation;
+#else
unsigned long generation;
+#endif
struct stat attr;
double attr_timeout;
double entry_timeout;
--
2.17.1