vfs: new superblock methods to override /proc/*/mount{s,info}
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Mar 2011 10:59:40 +0000 (06:59 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Mar 2011 20:48:06 +0000 (16:48 -0400)
commitc7f404b40a3665d9f4e9a927cc5c1ee0479ed8f9
tree2d6fa2bef00efa759f36b17f3be0d4fab3ac9bb5
parentf8ad9c4bae99854c961ca79ed130a0d11d9ab53c
vfs: new superblock methods to override /proc/*/mount{s,info}

a) ->show_devname(m, mnt) - what to put into devname columns in mounts,
mountinfo and mountstats
b) ->show_path(m, mnt) - what to put into relative path column in mountinfo

Leaving those NULL gives old behaviour.  NFS switched to using those.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namespace.c
fs/nfs/super.c
include/linux/fs.h