[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ocfs2-commits
Subject:    [Ocfs2-commits] mfasheh commits r2913 - branches/ocfs2-1.2/fs/ocfs2
From:       svn-commits () oss ! oracle ! com (svn-commits () oss ! oracle ! com)
Date:       2006-05-04 18:51:08
Message-ID: E1Fbiuq-0003Cl-NN () oss ! oracle ! com
[Download RAW message or body]

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);



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic