diff options
author | Weston Andros Adamson <dros@netapp.com> | 2012-04-25 00:50:37 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-04-26 20:11:29 +0400 |
commit | 1aba1567637b93eee32253b42deaaad381c3175b (patch) | |
tree | a1bc797ef749f93d39a2112022fefcb29bfa68f0 /fs/nfs/objlayout | |
parent | 2300fd67b4f29eec19addb15a8571837228f63fc (diff) | |
download | linux-1aba1567637b93eee32253b42deaaad381c3175b.tar.xz |
nfs4: fix referrals on mounts that use IPv6 addrs
All referrals (IPv4 addr, IPv6 addr, and DNS) are broken on mounts of
IPv6 addresses, because validation code uses a path that is parsed
from the dev_name ("<server>:<path>") by splitting on the first colon and
colons are used in IPv6 addrs.
This patch ignores colons within IPv6 addresses that are escaped by '[' and ']'.
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/objlayout')
0 files changed, 0 insertions, 0 deletions