diff options
author | Ben Hutchings <[email protected]> | 2012-10-21 19:23:52 +0100 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2012-10-31 16:26:26 -0400 |
commit | 97a54868262da1629a3e65121e65b8e8c4419d9f (patch) | |
tree | 9eecadb26be0a9ae4d183ffb31719f0f33737ec0 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | acce94e68a0f346115fd41cdc298197d2d5a59ad (diff) |
nfs: Show original device name verbatim in /proc/*/mount{s,info}
Since commit c7f404b ('vfs: new superblock methods to override
/proc/*/mount{s,info}'), nfs_path() is used to generate the mounted
device name reported back to userland.
nfs_path() always generates a trailing slash when the given dentry is
the root of an NFS mount, but userland may expect the original device
name to be returned verbatim (as it used to be). Make this
canonicalisation optional and change the callers accordingly.
[[email protected]: use flag instead of bool argument]
Reported-and-tested-by: Chris Hiestand <[email protected]>
Reference: http://bugs.debian.org/669314
Signed-off-by: Ben Hutchings <[email protected]>
Cc: <[email protected]> # v2.6.39+
Signed-off-by: Jonathan Nieder <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions