Skip to content
Commit 529da704 authored by Tao Ma's avatar Tao Ma Committed by Theodore Ts'o
Browse files

ext4: remove unnecessary ext4_get_group_info in ext4_mb_load_buddy



ext4_mb_load_buddy() calls ext4_get_group_info() for setting both
"grp" and "e4b->bd_info", but it could do "e4b->bd_info = grp".

Reported-by: default avatarAndreas Dilger <adilger@whamcloud.com>
Signed-off-by: default avatarTao Ma <boyu.mt@taobao.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent d4620315
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