From: Aneesh Kumar K.V Date: Sat, 29 Jan 2011 13:13:39 +0000 (+0530) Subject: ext3: Copy fs UUID to superblock. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=03cb5f03dcb26846fcad345d8c15aae91579a53d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ext3: Copy fs UUID to superblock. File system UUID is made available to application via /proc//mountinfo Signed-off-by: Aneesh Kumar K.V Signed-off-by: Al Viro --- diff --git a/fs/ext3/super.c b/fs/ext3/super.c index 85c8cc8f2473..9cc19a1dea8e 100644 --- a/fs/ext3/super.c +++ b/fs/ext3/super.c @@ -1936,6 +1936,7 @@ static int ext3_fill_super (struct super_block *sb, void *data, int silent) sb->s_qcop = &ext3_qctl_operations; sb->dq_op = &ext3_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);