diff options
author | Joel Becker <joel.becker@oracle.com> | 2010-04-13 14:26:12 +0800 |
---|---|---|
committer | Tao Ma <tao.ma@oracle.com> | 2010-04-13 14:26:12 +0800 |
commit | 4cbe4249d6586d5d88ef271e07302407a14c8443 (patch) | |
tree | 907eb8e61e3cf8ababfe1890f2c52ee82eb0e227 /fs/ocfs2/super.c | |
parent | 0467ae954d1843de65e7cf8f706f88fe65cd8418 (diff) | |
download | blackbird-op-linux-4cbe4249d6586d5d88ef271e07302407a14c8443.tar.gz blackbird-op-linux-4cbe4249d6586d5d88ef271e07302407a14c8443.zip |
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/super.c')
-rw-r--r-- | fs/ocfs2/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 12c2203a62fe..59930ee4fe2e 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c @@ -2277,7 +2277,7 @@ static int ocfs2_initialize_super(struct super_block *sb, osb->osb_clusters_at_boot = OCFS2_I(inode)->ip_clusters; iput(inode); - osb->bitmap_cpg = ocfs2_group_bitmap_size(sb) * 8; + osb->bitmap_cpg = ocfs2_group_bitmap_size(sb, 0) * 8; status = ocfs2_init_slot_info(osb); if (status < 0) { |