summaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2018-02-19 14:16:47 -0500
committerTheodore Ts'o <tytso@mit.edu>2018-02-19 14:16:47 -0500
commit044e6e3d74a3d7103a0c8a9305dfd94d64000660 (patch)
tree0979b1eb9ecf8bacd28b0eced5cf53463eb1856c /fs/ext4/inode.c
parent85e0c4e89c1b864e763c4e3bb15d0b6d501ad5d9 (diff)
downloadblackbird-op-linux-044e6e3d74a3d7103a0c8a9305dfd94d64000660.tar.gz
blackbird-op-linux-044e6e3d74a3d7103a0c8a9305dfd94d64000660.zip
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
Diffstat (limited to 'fs/ext4/inode.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud