[Jfs-patches] [PATCH 3/3] jfs: remove DIRENTSIZ
Brought to you by:
blaschke-oss,
shaggyk
From: <sh...@li...> - 2008-07-14 16:48:36
|
jfs: remove DIRENTSIZ After fat gets fixed the unused DIRENTSIZ macro was the last user of struct dirent we should get rid of since the kernel and userspace versions differed. Signed-off-by: Adrian Bunk <bu...@ke...> Signed-off-by: Dave Kleikamp <sh...@li...> --- commit ec1aef33668448718fcba79e4e981592bfd7e0a3 tree a587c702de386be5aeee52e9ebadf059c973aeb3 parent 3c65e8743bf8b5cf0f90e8d767bf1d8b50c14c76 author Adrian Bunk <bu...@ke...> Tue, 10 Jun 2008 15:12:58 -0500 committer Dave Kleikamp <sh...@li...> Tue, 10 Jun 2008 15:12:58 -0500 fs/jfs/jfs_dtree.h | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/fs/jfs/jfs_dtree.h b/fs/jfs/jfs_dtree.h index cdac2d5..2545bb3 100644 --- a/fs/jfs/jfs_dtree.h +++ b/fs/jfs/jfs_dtree.h @@ -243,9 +243,6 @@ typedef union { #define JFS_REMOVE 3 #define JFS_RENAME 4 -#define DIRENTSIZ(namlen) \ - ( (sizeof(struct dirent) - 2*(JFS_NAME_MAX+1) + 2*((namlen)+1) + 3) &~ 3 ) - /* * Maximum file offset for directories. */ |