summaryrefslogtreecommitdiffstats
path: root/fs/jfs
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-06-10 15:12:58 -0500
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>2008-06-10 15:12:58 -0500
commitec1aef33668448718fcba79e4e981592bfd7e0a3 (patch)
treea587c702de386be5aeee52e9ebadf059c973aeb3 /fs/jfs
parent3c65e8743bf8b5cf0f90e8d767bf1d8b50c14c76 (diff)
downloadlinux-ec1aef33668448718fcba79e4e981592bfd7e0a3.tar.bz2
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 <bunk@kernel.org> Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Diffstat (limited to 'fs/jfs')
-rw-r--r--fs/jfs/jfs_dtree.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/jfs/jfs_dtree.h b/fs/jfs/jfs_dtree.h
index cdac2d5bafeb..2545bb317235 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.
*/