ext4: add missing brelse() for bh2 in ext4_dx_add_entry()
authorKemeng Shi <shikemeng@huaweicloud.com>
Thu, 23 Jan 2025 16:20:48 +0000 (00:20 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 17 Mar 2025 02:41:17 +0000 (22:41 -0400)
commiteb640af64db6d4702a85ab001b9cc7f4c5dd6abb
treed4ea0a921a9c00308d694ee98a8412efbfc99a3d
parentfd3b3d7f51e628f54329738e736a154f6929daab
ext4: add missing brelse() for bh2 in ext4_dx_add_entry()

Add missing brelse() for bh2 in ext4_dx_add_entry().

Fixes: ac27a0ec112a ("[PATCH] ext4: initial copy of files from ext3")
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20250123162050.2114499-2-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/namei.c