Skip to content

Commit

Permalink
jfs: remove DIRENTSIZ
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Dave Kleikamp committed Jun 10, 2008
1 parent 3c65e87 commit ec1aef3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/jfs/jfs_dtree.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit ec1aef3

Please sign in to comment.