diff options
author | Mark Fasheh <mfasheh@suse.com> | 2010-08-26 13:06:50 -0700 |
---|---|---|
committer | Tao Ma <tao.ma@oracle.com> | 2010-09-08 14:25:56 +0800 |
commit | b2b6ebf5f740e015b2155343958f067e594323ea (patch) | |
tree | c235f91c504cb95ce0b7b4a5c3cfed1df185eb88 /kernel/power/snapshot.c | |
parent | 889f004a8c83d515f275078687f859bc0d5ede9d (diff) | |
download | op-kernel-dev-b2b6ebf5f740e015b2155343958f067e594323ea.zip op-kernel-dev-b2b6ebf5f740e015b2155343958f067e594323ea.tar.gz |
ocfs2: properly set and use inode group alloc hint
We were setting ac->ac_last_group in ocfs2_claim_suballoc_bits from
res->sr_bg_blkno. Unfortunately, res->sr_bg_blkno is going to be zero under
normal (non-fragmented) circumstances. The discontig block group patches
effectively turned off that feature. Fix this by correctly calculating what
the next group hint should be.
Acked-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Tested-by: Goldwyn Rodrigues <rgoldwyn@suse.de>
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'kernel/power/snapshot.c')
0 files changed, 0 insertions, 0 deletions