ext4: check buffer_verified in advance to avoid unneeded ext4_get_group_info()
authorKemeng Shi <shikemeng@huaweicloud.com>
Tue, 20 Aug 2024 13:22:34 +0000 (21:22 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 4 Sep 2024 02:12:16 +0000 (22:12 -0400)
commit7d2b48881877ace14ea85a7e3a17ff8f80f3d8e6
treecd42146af3caeff9ace86996f078796a8b3c5707
parent7523a7ef099abe7b9a98c4c8f722fe40541c9723
ext4: check buffer_verified in advance to avoid unneeded ext4_get_group_info()

Check buffer_verified in advance to avoid unneeded ext4_get_group_info().
This could be a simple cleanup as compiler may handle this.

Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Link: https://patch.msgid.link/20240820132234.2759926-8-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ialloc.c