diff options
author | Tao Ma <tao.ma@oracle.com> | 2010-04-22 14:09:15 +0800 |
---|---|---|
committer | Tao Ma <tao.ma@oracle.com> | 2010-04-22 14:09:15 +0800 |
commit | 4711954eaa8d30f653fda238cecf919f1ae40d6f (patch) | |
tree | f150d49ce67d3982faa22a3a73c143cc901234ac /fs/ocfs2/ocfs2.h | |
parent | 95ec0adf0b56d6a3f0ca1ec87173311898486b2e (diff) | |
download | linux-4711954eaa8d30f653fda238cecf919f1ae40d6f.tar.gz linux-4711954eaa8d30f653fda238cecf919f1ae40d6f.tar.bz2 linux-4711954eaa8d30f653fda238cecf919f1ae40d6f.zip |
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>
Diffstat (limited to 'fs/ocfs2/ocfs2.h')
-rw-r--r-- | fs/ocfs2/ocfs2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/ocfs2.h b/fs/ocfs2/ocfs2.h index d389f2714c96..c67003b6b5a2 100644 --- a/fs/ocfs2/ocfs2.h +++ b/fs/ocfs2/ocfs2.h @@ -491,7 +491,7 @@ static inline int ocfs2_supports_indexed_dirs(struct ocfs2_super *osb) return 0; } -static inline int ocfs2_supports_discontig_bh(struct ocfs2_super *osb) +static inline int ocfs2_supports_discontig_bg(struct ocfs2_super *osb) { if (osb->s_feature_incompat & OCFS2_FEATURE_INCOMPAT_DISCONTIG_BG) return 1; |