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:
03cb5f0
)
ext4: Copy fs UUID to superblock
author
Aneesh Kumar K.V
<aneesh.kumar@linux.vnet.ibm.com>
Sat, 29 Jan 2011 13:13:40 +0000
(18:43 +0530)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 15 Mar 2011 06:21:45 +0000
(
02:21
-0400)
File system UUID is made available to application
via /proc/<pid>/mountinfo
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ext4/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/super.c
b/fs/ext4/super.c
index f6a318f836b2cd7d5c2e70af3ae1bde6b6d301ce..5977b356a43531e60adcc54cf46dff972e379899 100644
(file)
--- a/
fs/ext4/super.c
+++ b/
fs/ext4/super.c
@@
-3415,6
+3415,8
@@
static int ext4_fill_super(struct super_block *sb, void *data, int silent)
sb->s_qcop = &ext4_qctl_operations;
sb->dq_op = &ext4_quota_operations;
#endif
+ memcpy(sb->s_uuid, es->s_uuid, sizeof(es->s_uuid));
+
INIT_LIST_HEAD(&sbi->s_orphan); /* unlinked but open files */
mutex_init(&sbi->s_orphan_lock);
mutex_init(&sbi->s_resize_lock);