From: Trond Myklebust Date: Mon, 12 Sep 2011 23:37:06 +0000 (-0400) Subject: NFSD: Cleanup for nfsd4_path() X-Git-Tag: v3.2-rc1~177^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed748aacb8e3318fa2cf24e1c197d35b5fd29605;p=pandora-kernel.git NFSD: Cleanup for nfsd4_path() The current code is sort of hackish in that it assumes a referral is always matched to an export. When we add support for junctions that may not be the case. We can replace nfsd4_path() with a function that encodes the components directly from the dentries. Since nfsd4_path is currently the only user of the 'ex_pathname' field in struct svc_export, this has the added benefit of allowing us to get rid of that. Signed-off-by: Trond Myklebust Reviewed-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed