From: Weston Andros Adamson Date: Tue, 24 Apr 2012 15:07:59 +0000 (-0400) Subject: nfsd: add IPv6 addr escaping to fs_location hosts X-Git-Tag: v3.5-rc1~18^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7a0444aef4a1649bc155fd5c6d6ab3f8bdc88ab;p=pandora-kernel.git 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 Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed