aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/f2fs_fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h
index 8c03f71307c6..ba6f3127738f 100644
--- a/include/linux/f2fs_fs.h
+++ b/include/linux/f2fs_fs.h
@@ -394,6 +394,9 @@ typedef __le32 f2fs_hash_t;
394/* MAX level for dir lookup */ 394/* MAX level for dir lookup */
395#define MAX_DIR_HASH_DEPTH 63 395#define MAX_DIR_HASH_DEPTH 63
396 396
397/* MAX buckets in one level of dir */
398#define MAX_DIR_BUCKETS (1 << ((MAX_DIR_HASH_DEPTH / 2) - 1))
399
397#define SIZE_OF_DIR_ENTRY 11 /* by byte */ 400#define SIZE_OF_DIR_ENTRY 11 /* by byte */
398#define SIZE_OF_DENTRY_BITMAP ((NR_DENTRY_IN_BLOCK + BITS_PER_BYTE - 1) / \ 401#define SIZE_OF_DENTRY_BITMAP ((NR_DENTRY_IN_BLOCK + BITS_PER_BYTE - 1) / \
399 BITS_PER_BYTE) 402 BITS_PER_BYTE)