Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec1aef33 authored by Adrian Bunk's avatar Adrian Bunk Committed by Dave Kleikamp
Browse files

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: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarDave Kleikamp <shaggy@linux.vnet.ibm.com>
parent 3c65e874
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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.
 */