Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca76a10
)
loff_t is a long long in the kernel, liblustre should use the same to
author
adilger
<adilger>
Thu, 25 Mar 2004 20:08:53 +0000
(20:08 +0000)
committer
adilger
<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
patch
|
blob
|
history
diff --git
a/lustre/include/liblustre.h
b/lustre/include/liblustre.h
index
460d86e
..
d859bfc
100644
(file)
--- a/
lustre/include/liblustre.h
+++ b/
lustre/include/liblustre.h
@@
-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;