Whamcloud - gitweb
e2fsck: check inline dir size is a multiple of 4
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 10 Aug 2014 22:46:53 +0000 (18:46 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 10 Aug 2014 22:46:53 +0000 (18:46 -0400)
commit52b0c6e6c9b2497f5d749bf30e6bc632aa45e6cb
treef13d05fbd220d2d3c186616a217a7d5999453833
parent3a748dfc1cc28878b5c0ffc1042c3efb3d26360e
e2fsck: check inline dir size is a multiple of 4

Directory entries must have a size that's a multiple of 4; therefore
the inline directory structure must also have a size that is a muliple
of 4.  Since e2fsck doesn't check this, we should check that now.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass2.c
e2fsck/problem.c
e2fsck/problem.h