]> Pileus Git - ~andy/linux/blobdiff - fs/ext3/ext3.h
Merge tag 'stable/frontswap.v16-tag' of git://git.kernel.org/pub/scm/linux/kernel...
[~andy/linux] / fs / ext3 / ext3.h
index 7977973a24f0d83bc71a09b04b75d53e39959373..e85ff15a060e7dcb220c4170f8455f7d1c96cba2 100644 (file)
@@ -920,7 +920,11 @@ struct dx_hash_info
        u32             *seed;
 };
 
-#define EXT3_HTREE_EOF 0x7fffffff
+
+/* 32 and 64 bit signed EOF for dx directories */
+#define EXT3_HTREE_EOF_32BIT   ((1UL  << (32 - 1)) - 1)
+#define EXT3_HTREE_EOF_64BIT   ((1ULL << (64 - 1)) - 1)
+
 
 /*
  * Control parameters used by ext3_htree_next_block