Whamcloud - gitweb
e2fsck: insert a missing dirent tail for checksums if possible
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 26 Jul 2014 21:13:31 +0000 (17:13 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 26 Jul 2014 21:13:31 +0000 (17:13 -0400)
commit17641bf208afc98a59a0a245ecaa06ecb8e081dd
tree7c3cc526b42fcb14069e52871a7b18acc5c6cadb
parent5e8fd16e2cb8c3385d734e25ac4761eb0ecd59f5
e2fsck: insert a missing dirent tail for checksums if possible

If e2fsck is writing a block of directory entries to disk, it should
adjust the dirents to add the dirent tail if one is missing.  It's not
a big deal if there's no space to do this since rehash (pass 3A) will
reconstruct directories for us.  However, we may as well avoid
unnecessary work.

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