ext4: don't update checksum of new initialized bitmaps
When reading the inode or block allocation bitmap, if the bitmap needs
to be initialized, do not update the checksum in the block group
descriptor. That's because we're not set up to journal those changes.
Instead, just set the verified bit on the bitmap block, so that it's
not necessary to validate the checksum.
When a block or inode allocation actually happens, at that point the
checksum will be calculated, and update of the bg descriptor block
will be properly journalled.
Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
Loading
-
mentioned in commit dc1b4b71
-
mentioned in commit 4a107397
-
mentioned in commit 19a53c85
-
mentioned in commit 412c3646
-
mentioned in commit 64959948
-
mentioned in commit 3944b09c
-
mentioned in commit 709784b6
-
mentioned in commit a66e9857
-
mentioned in commit 42554426
-
mentioned in commit 6b8439af
-
mentioned in commit 262a62cc
Please sign in to comment