Whamcloud - gitweb
tune2fs: rebuild and checksum directories when necessary
authorDarrick J. Wong <djwong@us.ibm.com>
Fri, 3 Aug 2012 00:47:35 +0000 (20:47 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 3 Aug 2012 00:47:35 +0000 (20:47 -0400)
commit761b76a4c74ae3182648e80c210bad933236d928
treecba182aa1f68a6768d9a48ea8987c3b36df87e7c
parente8548796a5bb59b2319c81973b7a460f036faa3e
tune2fs: rebuild and checksum directories when necessary

Since all the metadata checksums depend on the fs UUID, tune2fs must
be able to rewrite the checksums of _all_ metadata.  It's not that
hard to add in the bits to resize the directory block structures at
the same time.

[ Merged in fix from Zheng Liu where ctx.errcode wasn't getting
  cleared in rewrite_directory(). ]

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/tune2fs.c