Whamcloud - gitweb
tune2fs: disable csum verification before resizing inode
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 27 Jan 2015 18:11:04 +0000 (13:11 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 27 Jan 2015 18:11:18 +0000 (13:11 -0500)
commitdd3ffbc918f920bea3219e453262346cbf6148ca
treeef467631fd5d40336cd2a590b09b075c26605c26
parentf21c30d90cdae684b106402c001010aa90e9d637
tune2fs: disable csum verification before resizing inode

When we're turning on metadata checksumming /and/ resizing the inode
at the same time, disable checksum verification during the
resize_inode() call because the subroutines it calls will try to
verify the checksums (which have not yet been set), causing the
operation to fail unnecessarily.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/tune2fs.c
tests/t_iexpand_full/script
tests/t_iexpand_mcsum/expect [new file with mode: 0644]
tests/t_iexpand_mcsum/name [new file with mode: 0644]
tests/t_iexpand_mcsum/script [new file with mode: 0644]