aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2018-02-19 14:16:47 -0500
committerAndrew Lehmer <alehmer@google.com>2018-10-31 19:39:38 +0000
commit68e64d650e85242a413d483378c19f76c8f263f7 (patch)
tree227c02abf1894c0e22de702b6611e65e671558f7 /net/lapb/lapb_timer.c
parent7a2b31971357c13290f5dd62138cebb9f04449ae (diff)
ext4: don't update checksum of new initialized bitmaps
commit 044e6e3d74a3d7103a0c8a9305dfd94d64000660 upstream. 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. Bug: 116406122 Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org Signed-off-by: Harsh Shandilya <harsh@prjkt.io> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Change-Id: I022c198b51c5ee2b5b40d434af7ab08cf0df7242
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions