f2fs: introduce accessor to retrieve number of dentry slots
authorNamjae Jeon <namjae.jeon@samsung.com>
Sat, 8 Dec 2012 05:54:50 +0000 (14:54 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 11 Dec 2012 04:43:45 +0000 (13:43 +0900)
commit457d08ee4fd91c8df17917ff2d32565e6adacbfc
treed97e620d4617642414cdec0ecc9bae9081e156b6
parent508198be3c2f7f8929101bb0daeb8f0039c1dc7f
f2fs: introduce accessor to retrieve number of dentry slots

Simplify code by providing the accessor macro to retrieve the
number of dentry slots for a given filename length.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
fs/f2fs/dir.c
include/linux/f2fs_fs.h