diff options
author | Coly Li <i@coly.li> | 2011-02-24 12:51:59 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-02-24 12:51:59 -0500 |
commit | 84b775a354f640736176b5d966408fc5d5da6665 (patch) | |
tree | c7b26ce41a9234e48bfc74514b960b9b38b40c5d /fs/nfs/nfs4xdr.c | |
parent | ea6633369458992241599c9d9ebadffaeddec164 (diff) |
ext4: code cleanup in mb_find_buddy()
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: Coly Li <bosong.ly@taobao.com>
Cc: Alex Tomas <alex@clusterfs.com>
Cc: Theodore Tso <tytso@google.com>
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
0 files changed, 0 insertions, 0 deletions