Prev: [PATCH -V9 7/9] x86: Add new syscalls for x86_32
Next: [PATCH -V9 4/9] vfs: Allow handle based open on symlinks
From: Aneesh Kumar K.V on 18 May 2010 08:10 This enables userspace application to find the file system UUID using sys_name_to_handle_at syscall Acked-by: Serge Hallyn <serue(a)us.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar(a)linux.vnet.ibm.com> --- fs/ext4/super.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index e14d22c..02ba21b 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -2828,6 +2828,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); -- 1.7.1.78.g212f0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |