ext4: Fix for ext4_mb_collect_stats()
authorCurt Wohlgemuth <curtw@google.com>
Sun, 16 May 2010 20:00:00 +0000 (16:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 16 May 2010 20:00:00 +0000 (16:00 -0400)
commit291dae472a8976ff461f24c848fee2a03f9ea3c8
tree74926cf247344af2ad825a71f25787d61a0d503e
parent8a57d9d61a6e361c7bb159dda797672c1df1a691
ext4: Fix for ext4_mb_collect_stats()

Fix ext4_mb_collect_stats() to use the correct test for s_bal_success; it
should be testing "best-extent.fe_len >= orig-extent.fe_len" , not
"orig-extent.fe_len >= goal-extent.fe_len" .

Signed-off-by: Curt Wohlgemuth <curtw@google.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c