Commit ec1aef33668448718fcba79e4e981592bfd7e0a3

Authored by Adrian Bunk
Committed by Dave Kleikamp
1 parent 3c65e8743b

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>

Showing 1 changed file with 0 additions and 3 deletions Side-by-side Diff

... ... @@ -243,9 +243,6 @@
243 243 #define JFS_REMOVE 3
244 244 #define JFS_RENAME 4
245 245  
246   -#define DIRENTSIZ(namlen) \
247   - ( (sizeof(struct dirent) - 2*(JFS_NAME_MAX+1) + 2*((namlen)+1) + 3) &~ 3 )
248   -
249 246 /*
250 247 * Maximum file offset for directories.
251 248 */