commit | fe52d17cdd343ac43c85cf72940a58865b9d3bfb | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Mon Jul 01 08:12:38 2013 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Jul 01 08:12:38 2013 -0400 |
tree | 564fcb912a322ae9d1d2e50763210bda68bccede | |
parent | aeb2817a4ea99f62532adf3377be3b282d3bda12 [diff] |
jbd2: move superblock checksum calculation to jbd2_write_superblock() Some of the functions which modify the jbd2 superblock were not updating the checksum before calling jbd2_write_superblock(). Move the call to jbd2_superblock_csum_set() to jbd2_write_superblock(), so that the checksum is calculated consistently. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: Darrick J. Wong <darrick.wong@oracle.com> Cc: stable@vger.kernel.org