]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "vfs: Export file system uuid via /proc/<pid>/mountinfo"
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 12 Apr 2011 20:35:56 +0000 (13:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 12 Apr 2011 20:35:56 +0000 (13:35 -0700)
commit87c9f484945cc2dbcca3e90fbd2af1c606cb1ac2
tree342a0c1529d077ec499f62dfa01ff4697387f1ab
parentadb039b824208cd6c2cb6485a0e06b619047d64a
Revert "vfs: Export file system uuid via /proc/<pid>/mountinfo"

This reverts commit fc83c0c40cc7ef5f7afa63ceb50f6f9e4c9d71bd.

It turns out that libmount misparses it because it adds a '-' character
in the uuid string, which libmount then incorrectly confuses with the
separator string (" - ") at the end of all the optional arguments.

Upstream libmount (in the util-linux tree) has been fixed, but until
that fix actually percolates up to users, we'd better not expose this
change in the kernel.

Let's revisit this later (possibly by exposing the UUID without any '-'
characters in it, avoiding the user-space bug).

Reported-by: Dave Jones <davej@redhat.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Karel Zak <kzak@redhat.com>
Cc: Ram Pai <linuxram@us.ibm.com>
Cc: Miklos Szeredi <mszeredi@suse.cz>
Cc: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/namespace.c
include/linux/fs.h