aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2')
-rw-r--r--fs/ocfs2/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index 4e214ecb5886..3aa9f18527f0 100644
--- a/fs/ocfs2/super.c
+++ b/fs/ocfs2/super.c
@@ -1417,7 +1417,7 @@ static int ocfs2_initialize_super(struct super_block *sb,
1417 goto bail; 1417 goto bail;
1418 } 1418 }
1419 1419
1420 memcpy(&uuid_net_key, &osb->uuid[i], sizeof(osb->net_key)); 1420 memcpy(&uuid_net_key, osb->uuid, sizeof(uuid_net_key));
1421 osb->net_key = le32_to_cpu(uuid_net_key); 1421 osb->net_key = le32_to_cpu(uuid_net_key);
1422 1422
1423 strncpy(osb->vol_label, di->id2.i_super.s_label, 63); 1423 strncpy(osb->vol_label, di->id2.i_super.s_label, 63);