ext4: remove redundant operation that set bh to NULL
authorKaixu Xia <kaixuxia@tencent.com>
Tue, 20 Oct 2020 11:41:09 +0000 (19:41 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 3 Dec 2020 14:15:29 +0000 (09:15 -0500)
commit7b721e6d334c9699fcd94553a7fe073ec717d926
treee07f90d3083bc5a56d5753c080b2000ada05a14f
parent50a4952fd67b7f7f551e82ac07c51c1a7a74d474
ext4: remove redundant operation that set bh to NULL

The out_fail branch path don't release the bh and the second bh is
valid only in the for statement, so we don't need to set them to NULL.

Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Reviewed-by: zhangyi (F) <yi.zhang@huawei.com>
Link: https://lore.kernel.org/r/1603194069-17557-1-git-send-email-kaixuxia@tencent.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c