|
@@ -929,7 +929,7 @@ struct svc_export *
|
|
|
rqst_exp_get_by_name(struct svc_rqst *rqstp, struct path *path)
|
|
|
{
|
|
|
struct svc_export *gssexp, *exp = ERR_PTR(-ENOENT);
|
|
|
- struct nfsd_net *nn = net_generic(rqstp->rq_xprt->xpt_net, nfsd_net_id);
|
|
|
+ struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id);
|
|
|
struct cache_detail *cd = nn->svc_export_cache;
|
|
|
|
|
|
if (rqstp->rq_client == NULL)
|
|
@@ -960,7 +960,7 @@ struct svc_export *
|
|
|
rqst_exp_find(struct svc_rqst *rqstp, int fsid_type, u32 *fsidv)
|
|
|
{
|
|
|
struct svc_export *gssexp, *exp = ERR_PTR(-ENOENT);
|
|
|
- struct nfsd_net *nn = net_generic(rqstp->rq_xprt->xpt_net, nfsd_net_id);
|
|
|
+ struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id);
|
|
|
struct cache_detail *cd = nn->svc_export_cache;
|
|
|
|
|
|
if (rqstp->rq_client == NULL)
|