[Ocfs2-commits] mfasheh commits r2913 - branches/ocfs2-1.2/fs/ocfs2
svn-commits@oss.oracle.com
svn-commits at oss.oracle.com
Thu May 4 13:51:08 CDT 2006
Author: mfasheh
Signed-off-by: zab
Date: 2006-05-04 13:51:07 -0500 (Thu, 04 May 2006)
New Revision: 2913
Modified:
branches/ocfs2-1.2/fs/ocfs2/super.c
Log:
* fix init of uuid_net_key - ocfs2_initialize_super() should be explicitely
copying from the beginning of the uuid.
Signed-off-by: zab
Modified: branches/ocfs2-1.2/fs/ocfs2/super.c
===================================================================
--- branches/ocfs2-1.2/fs/ocfs2/super.c 2006-05-01 22:36:57 UTC (rev 2912)
+++ branches/ocfs2-1.2/fs/ocfs2/super.c 2006-05-04 18:51:07 UTC (rev 2913)
@@ -1441,7 +1441,7 @@
goto bail;
}
- memcpy(&uuid_net_key, &osb->uuid[i], sizeof(osb->net_key));
+ memcpy(&uuid_net_key, osb->uuid, sizeof(uuid_net_key));
osb->net_key = le32_to_cpu(uuid_net_key);
strncpy(osb->vol_label, di->id2.i_super.s_label, 63);
More information about the Ocfs2-commits
mailing list