projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7607ab
)
ocfs2: fix init of uuid_net_key
author
Mark Fasheh
<mark.fasheh@oracle.com>
Thu, 4 May 2006 18:49:22 +0000
(11:49 -0700)
committer
Mark Fasheh
<mark.fasheh@oracle.com>
Thu, 29 Jun 2006 23:06:43 +0000
(16:06 -0700)
ocfs2_initialize_super() should be copying from the beginning of the uuid.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/super.c
b/fs/ocfs2/super.c
index 4e214ecb588637165663b9e4dabc3349a5d2e46d..3aa9f18527f0c11b450a4c5930a1905a89e68a41 100644
(file)
--- a/
fs/ocfs2/super.c
+++ b/
fs/ocfs2/super.c
@@
-1417,7
+1417,7
@@
static int ocfs2_initialize_super(struct super_block *sb,
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);