diff options
author | Joel Becker <joel.becker@oracle.com> | 2010-04-13 02:26:12 -0400 |
---|---|---|
committer | Tao Ma <tao.ma@oracle.com> | 2010-04-13 02:26:12 -0400 |
commit | 4cbe4249d6586d5d88ef271e07302407a14c8443 (patch) | |
tree | 907eb8e61e3cf8ababfe1890f2c52ee82eb0e227 /fs/ocfs2/localalloc.c | |
parent | 0467ae954d1843de65e7cf8f706f88fe65cd8418 (diff) |
ocfs2: Define data structures for discontiguous block groups.
Defines the OCFS2_FEATURE_INCOMPAT_DISCONTIG_BG feature bit and modifies
struct ocfs2_group_desc for the feature.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'fs/ocfs2/localalloc.c')
-rw-r--r-- | fs/ocfs2/localalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/localalloc.c b/fs/ocfs2/localalloc.c index 63c41e206792..9538bbe028d4 100644 --- a/fs/ocfs2/localalloc.c +++ b/fs/ocfs2/localalloc.c | |||
@@ -122,7 +122,7 @@ unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb) | |||
122 | struct super_block *sb = osb->sb; | 122 | struct super_block *sb = osb->sb; |
123 | 123 | ||
124 | gd_mb = ocfs2_clusters_to_megabytes(osb->sb, | 124 | gd_mb = ocfs2_clusters_to_megabytes(osb->sb, |
125 | 8 * ocfs2_group_bitmap_size(sb)); | 125 | 8 * ocfs2_group_bitmap_size(sb, 0)); |
126 | 126 | ||
127 | /* | 127 | /* |
128 | * This takes care of files systems with very small group | 128 | * This takes care of files systems with very small group |