]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NFS] [PATCH] NFS: show addr=ipaddr in /proc/mounts rather than
authorJeff Layton <jlayton@redhat.com>
Mon, 30 Jul 2007 12:47:38 +0000 (08:47 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:15:39 +0000 (17:15 -0400)
commitddc01c0813dc07ca7a2bd32c143a9b54a64915ce
tree19bd2ac9bd5f3148879384a9017a077582de1bc6
parentf8cf3678f4885d66475b19b10ec2e9918ff2ca1c
[NFS] [PATCH] NFS: show addr=ipaddr in /proc/mounts rather than

A minor thing, but useful when working with a server with multiple
addrs. This looks like it might also be necessary if Miklos' effort
to eliminate /etc/mtab ever comes to fruition.

When displaying mount options in /proc/mounts, the kernel prints
"addr=hostname". This info is redundant since we already have the
hostname displayed as part of the "device" section of the mount. This
patch changes it to display the IP address to which the socket is
connected.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c