lkml.org 
[lkml]   [2023]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5/7] ext4: remove stale comment in ext4_init_block_bitmap
    Date
    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>
    ---
    fs/ext4/balloc.c | 2 --
    1 file changed, 2 deletions(-)

    diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c
    index 08f1692f7d2f..4de06d68e9e7 100644
    --- 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 |
    --
    2.30.0
    \
     
     \ /
      Last update: 2023-03-27 00:29    [W:4.018 / U:0.644 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site