From 28ec6970cdd17ed4e2aeb659c95d84688bd12861 Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sun, 24 Nov 2024 00:23:03 +0100 Subject: [PATCH] Revert "ext4: fix double brelse() the buffer of the extents path" This reverts commit 1751fc5974fdfb05f4eeae49700d32fba8cbe67b. --- fs/ext4/extents.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index c92317ab5..3490feb47 100755 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -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); }