commit | abf1b3cb5b20fbad27ca9c7497235eeb4dd3f4fd | [log] [tgz] |
---|---|---|
author | Tao Ma <tao.ma@oracle.com> | Tue Apr 27 08:30:36 2010 +0800 |
committer | Tao Ma <tao.ma@oracle.com> | Tue Apr 27 08:30:36 2010 +0800 |
tree | cd3abb6c107dfdc09c1d8014832ee27803e9e8f6 | |
parent | 74380c479ad83addeff8a172ab95f59557b5b0c3 [diff] |
ocfs2: Set ac_last_group properly with discontig group. ac_last_group is used to record the last block group we used during allocation. But the initialization process only calls ocfs2_which_suballoc_group and fails to use suballoc_loc properly. So let us do it. Another function ocfs2_test_suballoc_bit also needs fix. I have searched all the callers of ocfs2_which_suballoc_group, and all the callers notices suballoc_loc now. Signed-off-by: Tao Ma <tao.ma@oracle.com>