commit | 01fc48e8929e45e67527200017cff4e74e4ba054 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Fri Aug 17 09:46:17 2012 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Aug 17 09:46:17 2012 -0400 |
tree | e1a4bfe958e9bb0dc2064c45fa2a0db498236a08 | |
parent | ecb94f5fdf4b72547fca022421a9dca1672bddd4 [diff] |
ext4: don't load the block bitmap for block groups which have no space Add a short circuit check to ext4_mb_group_group() so that we don't bother to load the block bitmap for a block group which does not have any space available. (Or which does not have enough space until we are in desperation mode, i.e., when cr == 3.) Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=45741 Reported-by: mirek@me.com Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>