Revert "ext4: fix double brelse() the buffer of the extents path"

This reverts commit 1751fc5974.
This commit is contained in:
Ksawlii 2024-11-24 00:23:03 +01:00
parent 2f34213701
commit 28ec6970cd

View file

@ -1867,7 +1867,6 @@ static void ext4_ext_try_to_merge_up(handle_t *handle,
path[0].p_hdr->eh_max = cpu_to_le16(max_root);
brelse(path[1].p_bh);
path[1].p_bh = NULL;
ext4_free_blocks(handle, inode, NULL, blk, 1,
EXT4_FREE_BLOCKS_METADATA | EXT4_FREE_BLOCKS_FORGET);
}