summaryrefslogtreecommitdiffstats
path: root/scripts/depmod.sh
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2011-09-03 01:09:43 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-04-20 17:59:01 -0400
commit98a2139f4f4d7b5fcc3a54c7fddbe88612abed20 (patch)
tree99f94d7fabedefbae0a6e40a1c8f485171616565 /scripts/depmod.sh
parent8ccd271f7a3a846ce6f85ead0760d9d12994a611 (diff)
downloadop-kernel-dev-98a2139f4f4d7b5fcc3a54c7fddbe88612abed20.zip
op-kernel-dev-98a2139f4f4d7b5fcc3a54c7fddbe88612abed20.tar.gz
nfs: Enclose hostname in brackets when needed in nfs_do_root_mount
When hostname contains colon (e.g. when it is an IPv6 address) it needs to be enclosed in brackets to make parsing of NFS device string possible. Fix nfs_do_root_mount() to enclose hostname properly when needed. NFS code actually does not need this as it does not parse the string passed by nfs_do_root_mount() but the device string is exposed to userspace in /proc/mounts. CC: Josh Boyer <jwboyer@redhat.com> CC: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Jan Kara <jack@suse.cz> Cc: stable@vger.kernel.org Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'scripts/depmod.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud