[PATCH 3/3] jfs: remove DIRENTSIZ

[email protected] Mon, 14 Jul 2008 11:48:12 -0500 (CDT)
Newsgroups gmane.comp.file-systems.jfs.patches
Message-ID <[email protected]>
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 <[email protected]>
Signed-off-by: Dave Kleikamp <[email protected]>

---
commit ec1aef33668448718fcba79e4e981592bfd7e0a3
tree a587c702de386be5aeee52e9ebadf059c973aeb3
parent 3c65e8743bf8b5cf0f90e8d767bf1d8b50c14c76
author Adrian Bunk <[email protected]> Tue, 10 Jun 2008 15:12:58 -0500
committer Dave Kleikamp <[email protected]> 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.
  */

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08