diff options
Diffstat (limited to 'include/linux/f2fs_fs.h')
| -rw-r--r-- | include/linux/f2fs_fs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h index c2fbbc35c1e..f9a12f6243a 100644 --- a/include/linux/f2fs_fs.h +++ b/include/linux/f2fs_fs.h | |||
| @@ -363,6 +363,9 @@ typedef __le32 f2fs_hash_t; | |||
| 363 | 363 | ||
| 364 | /* One directory entry slot covers 8bytes-long file name */ | 364 | /* One directory entry slot covers 8bytes-long file name */ |
| 365 | #define F2FS_NAME_LEN 8 | 365 | #define F2FS_NAME_LEN 8 |
| 366 | #define F2FS_NAME_LEN_BITS 3 | ||
| 367 | |||
| 368 | #define GET_DENTRY_SLOTS(x) ((x + F2FS_NAME_LEN - 1) >> F2FS_NAME_LEN_BITS) | ||
| 366 | 369 | ||
| 367 | /* the number of dentry in a block */ | 370 | /* the number of dentry in a block */ |
| 368 | #define NR_DENTRY_IN_BLOCK 214 | 371 | #define NR_DENTRY_IN_BLOCK 214 |
