Skip to content
Commit 7b721e6d authored by Kaixu Xia's avatar Kaixu Xia Committed by Theodore Ts'o
Browse files

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: default avatarKaixu Xia <kaixuxia@tencent.com>
Reviewed-by: default avatarzhangyi (F) <yi.zhang@huawei.com>
Link: https://lore.kernel.org/r/1603194069-17557-1-git-send-email-kaixuxia@tencent.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 50a4952f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment