Repost (from LKML): EXT3 FS and 64K blocks error

Daniel Taylor
2010-07-09T00:20:20Z

We're getting the following error with an EXT3 file sytem that
has 64K blocks (2.6.32.12, on a powerpc), although I don't see
any fixes for later kernels in a diff against 2.6.35-rc3):

ext3_readdir: bad entry in directory #11: rec_len is smaller than minimal -
offset=0, inode=0, rec_len=0, name_len=0

That message is generated in fs/ext3/dir.c:ext3_check_dir_entry()
when called from fs/ext3/dir.c:ext3_readdir(), AFAICT.

Did something get missed when EXT3 handling for 64K blocks was
implemented or when a new feature was added?

FWIW, I do NOT see this on EXT4.

Dan Taylor

Dan Taylor
Sr. Staff Engineer
WD Branded Products
949.672.7761