diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ocfs2/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index c558bff99165..a811a95cfd5f 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -2070,6 +2070,8 @@ static int ocfs2_initialize_super(struct super_block *sb, | |||
2070 | cbits = le32_to_cpu(di->id2.i_super.s_clustersize_bits); | 2070 | cbits = le32_to_cpu(di->id2.i_super.s_clustersize_bits); |
2071 | bbits = le32_to_cpu(di->id2.i_super.s_blocksize_bits); | 2071 | bbits = le32_to_cpu(di->id2.i_super.s_blocksize_bits); |
2072 | sb->s_maxbytes = ocfs2_max_file_offset(bbits, cbits); | 2072 | sb->s_maxbytes = ocfs2_max_file_offset(bbits, cbits); |
2073 | memcpy(sb->s_uuid, di->id2.i_super.s_uuid, | ||
2074 | sizeof(di->id2.i_super.s_uuid)); | ||
2073 | 2075 | ||
2074 | osb->osb_dx_mask = (1 << (cbits - bbits)) - 1; | 2076 | osb->osb_dx_mask = (1 << (cbits - bbits)) - 1; |
2075 | 2077 | ||