• Coly Li's avatar
    ext4: code cleanup in mb_find_buddy() · 84b775a3
    Coly Li authored
    Current code calculate max no matter whether order is zero, it's
    unnecessary. This cleanup patch sets max to "1 << (e4b->bd_blkbits
    + 3)" only when order == 0.
    Signed-off-by: default avatarColy Li <bosong.ly@taobao.com>
    Cc: Alex Tomas <alex@clusterfs.com>
    Cc: Theodore Tso <tytso@google.com>
    84b775a3
mballoc.c 132 KB