diff options
Diffstat (limited to 'fs/nfsd/export.c')
-rw-r--r-- | fs/nfsd/export.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c index 1114463bb856..a3946cf13fc8 100644 --- a/fs/nfsd/export.c +++ b/fs/nfsd/export.c | |||
@@ -929,7 +929,7 @@ struct svc_export * | |||
929 | rqst_exp_get_by_name(struct svc_rqst *rqstp, struct path *path) | 929 | rqst_exp_get_by_name(struct svc_rqst *rqstp, struct path *path) |
930 | { | 930 | { |
931 | struct svc_export *gssexp, *exp = ERR_PTR(-ENOENT); | 931 | struct svc_export *gssexp, *exp = ERR_PTR(-ENOENT); |
932 | struct nfsd_net *nn = net_generic(rqstp->rq_xprt->xpt_net, nfsd_net_id); | 932 | struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); |
933 | struct cache_detail *cd = nn->svc_export_cache; | 933 | struct cache_detail *cd = nn->svc_export_cache; |
934 | 934 | ||
935 | if (rqstp->rq_client == NULL) | 935 | if (rqstp->rq_client == NULL) |
@@ -960,7 +960,7 @@ struct svc_export * | |||
960 | rqst_exp_find(struct svc_rqst *rqstp, int fsid_type, u32 *fsidv) | 960 | rqst_exp_find(struct svc_rqst *rqstp, int fsid_type, u32 *fsidv) |
961 | { | 961 | { |
962 | struct svc_export *gssexp, *exp = ERR_PTR(-ENOENT); | 962 | struct svc_export *gssexp, *exp = ERR_PTR(-ENOENT); |
963 | struct nfsd_net *nn = net_generic(rqstp->rq_xprt->xpt_net, nfsd_net_id); | 963 | struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); |
964 | struct cache_detail *cd = nn->svc_export_cache; | 964 | struct cache_detail *cd = nn->svc_export_cache; |
965 | 965 | ||
966 | if (rqstp->rq_client == NULL) | 966 | if (rqstp->rq_client == NULL) |