summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/xdr3.h
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@netapp.com>2012-04-24 11:07:59 -0400
committerJ. Bruce Fields <bfields@redhat.com>2012-05-31 20:29:38 -0400
commite7a0444aef4a1649bc155fd5c6d6ab3f8bdc88ab (patch)
treee3afdeb61ecb045dd95c371f4d6cc89246d0663b /fs/nfsd/xdr3.h
parent45eaa1c1a16122a98bf995c004c23806759d2e5f (diff)
nfsd: add IPv6 addr escaping to fs_location hosts
The fs_location->hosts list is split on colons, but this doesn't work when IPv6 addresses are used (they contain colons). This patch adds the function nfsd4_encode_components_esc() to allow the caller to specify escape characters when splitting on 'sep'. In order to fix referrals, this patch must be used with the mountd patch that similarly fixes IPv6 [] escaping. Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr3.h')
0 files changed, 0 insertions, 0 deletions