git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 32-bit MAXOFFSET_T definition
[zfs.git]
/
lib
/
libspl
/
include
/
sys
/
param.h
diff --git
a/lib/libspl/include/sys/param.h
b/lib/libspl/include/sys/param.h
index
d9e7782
..
3efb56e
100644
(file)
--- a/
lib/libspl/include/sys/param.h
+++ b/
lib/libspl/include/sys/param.h
@@
-47,13
+47,8
@@
#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
-#define MAXNAMELEN 256
-
-#ifdef _LP64
-#define MAXOFFSET_T 0x7fffffffffffffffl
-#else
-#define MAXOFFSET_T 0x7fffffffl
-#endif
+#define MAXNAMELEN 256
+#define MAXOFFSET_T LLONG_MAX
#define UID_NOBODY 60001 /* user ID no body */
#define GID_NOBODY UID_NOBODY
#define UID_NOBODY 60001 /* user ID no body */
#define GID_NOBODY UID_NOBODY