Whamcloud - gitweb
loff_t is a long long in the kernel, liblustre should use the same to
authoradilger <adilger>
Thu, 25 Mar 2004 20:08:53 +0000 (20:08 +0000)
committeradilger <adilger>
Thu, 25 Mar 2004 20:08:53 +0000 (20:08 +0000)
avoid compiler warnings on 64-bit (this #define is for windows port only).

lustre/include/liblustre.h

index 460d86e..d859bfc 100644 (file)
@@ -52,7 +52,7 @@
 #define PAGE_SHIFT 12
 #define PAGE_SIZE (1UL << PAGE_SHIFT)
 #define PAGE_MASK (~(PAGE_SIZE-1))
-#define loff_t __u64
+#define loff_t long long
 #define ERESTART 2001
 typedef unsigned short umode_t;