summaryrefslogtreecommitdiffstats
path: root/include/sys/zfs_ctldir.h
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2012-07-09 19:41:28 -0400
committerBrian Behlendorf <[email protected]>2012-07-10 11:31:55 -0700
commita3873583c2128c6a41e640fe35f544f8c54848d8 (patch)
treef78ae6e43a455aa8a2fdf64c53509240bef33729 /include/sys/zfs_ctldir.h
parent42d3b990cfba9906e25bbf6b60e96389244f8082 (diff)
Use ULL suffix in constants
The lack of the ULL suffix causes warnings such as the following on 32-bit systems: In function 'zfsctl_is_snapdir': zfs-0.6.0//module/zfs/zfs_ctldir.c:151: warning: integer constant is too large for 'long' type We add the ULL suffix to fix that. Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #813
Diffstat (limited to 'include/sys/zfs_ctldir.h')
-rw-r--r--include/sys/zfs_ctldir.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sys/zfs_ctldir.h b/include/sys/zfs_ctldir.h
index e5985295a..0a3c142eb 100644
--- a/include/sys/zfs_ctldir.h
+++ b/include/sys/zfs_ctldir.h
@@ -103,10 +103,10 @@ extern void zfsctl_fini(void);
* However, they should be as large as possible to avoid conflicts
* with the objects which are assigned monotonically by the dmu.
*/
-#define ZFSCTL_INO_ROOT 0x0000FFFFFFFFFFFF
-#define ZFSCTL_INO_SHARES 0x0000FFFFFFFFFFFE
-#define ZFSCTL_INO_SNAPDIR 0x0000FFFFFFFFFFFD
-#define ZFSCTL_INO_SNAPDIRS 0x0000FFFFFFFFFFFC
+#define ZFSCTL_INO_ROOT 0x0000FFFFFFFFFFFFULL
+#define ZFSCTL_INO_SHARES 0x0000FFFFFFFFFFFEULL
+#define ZFSCTL_INO_SNAPDIR 0x0000FFFFFFFFFFFDULL
+#define ZFSCTL_INO_SNAPDIRS 0x0000FFFFFFFFFFFCULL
#define ZFSCTL_EXPIRE_SNAPSHOT 300