projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad3f09b
)
ext4: remove stale comment in ext4_init_block_bitmap
author
Kemeng Shi
<shikemeng@huaweicloud.com>
Tue, 21 Feb 2023 11:59:17 +0000
(19:59 +0800)
committer
Theodore Ts'o
<tytso@mit.edu>
Fri, 24 Mar 2023 03:00:08 +0000
(23:00 -0400)
Commit
bdfb6ff4a255d
("ext4: mark group corrupt on group descriptor
checksum") added flag to indicate corruption of group instead of
marking all blocks used. Just remove stale comment.
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Link:
https://lore.kernel.org/r/20230221115919.1918161-6-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/balloc.c
patch
|
blob
|
history
diff --git
a/fs/ext4/balloc.c
b/fs/ext4/balloc.c
index
08f1692
..
4de06d6
100644
(file)
--- a/
fs/ext4/balloc.c
+++ b/
fs/ext4/balloc.c
@@
-187,8
+187,6
@@
static int ext4_init_block_bitmap(struct super_block *sb,
ASSERT(buffer_locked(bh));
- /* If checksum is bad mark all blocks used to prevent allocation
- * essentially implementing a per-group read-only flag. */
if (!ext4_group_desc_csum_verify(sb, block_group, gdp)) {
ext4_mark_group_bitmap_corrupted(sb, block_group,
EXT4_GROUP_INFO_BBITMAP_CORRUPT |