ocfs2: Some tiny bug fixes for discontiguous block allocation.
authorTao Ma <tao.ma@oracle.com>
Thu, 22 Apr 2010 06:09:15 +0000 (14:09 +0800)
committerTao Ma <tao.ma@oracle.com>
Thu, 22 Apr 2010 06:09:15 +0000 (14:09 +0800)
commit4711954eaa8d30f653fda238cecf919f1ae40d6f
treef150d49ce67d3982faa22a3a73c143cc901234ac
parent95ec0adf0b56d6a3f0ca1ec87173311898486b2e
ocfs2: Some tiny bug fixes for discontiguous block allocation.

The fixes include:
1. some endian problems.
2. we should use bit/bpc in ocfs2_block_group_grow_discontig to
   allocate clusters.
3. set num_clusters properly in __ocfs2_claim_clusters.
4. change name from ocfs2_supports_discontig_bh to
   ocfs2_supports_discontig_bg.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
fs/ocfs2/ocfs2.h
fs/ocfs2/suballoc.c