aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfsd/xdr4.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nfsd/xdr4.h')
-rw-r--r--include/linux/nfsd/xdr4.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/nfsd/xdr4.h b/include/linux/nfsd/xdr4.h
index a0a2e8317a3b..b8b3dcba28cc 100644
--- a/include/linux/nfsd/xdr4.h
+++ b/include/linux/nfsd/xdr4.h
@@ -56,6 +56,11 @@ struct nfsd4_compound_state {
56 u32 status; 56 u32 status;
57}; 57};
58 58
59static inline bool nfsd4_has_session(struct nfsd4_compound_state *cs)
60{
61 return cs->slot != NULL;
62}
63
59struct nfsd4_change_info { 64struct nfsd4_change_info {
60 u32 atomic; 65 u32 atomic;
61 u32 before_ctime_sec; 66 u32 before_ctime_sec;
@@ -536,7 +541,8 @@ extern __be32 nfsd4_sequence(struct svc_rqst *,
536extern __be32 nfsd4_destroy_session(struct svc_rqst *, 541extern __be32 nfsd4_destroy_session(struct svc_rqst *,
537 struct nfsd4_compound_state *, 542 struct nfsd4_compound_state *,
538 struct nfsd4_destroy_session *); 543 struct nfsd4_destroy_session *);
539extern __be32 nfsd4_process_open1(struct nfsd4_open *open); 544extern __be32 nfsd4_process_open1(struct nfsd4_compound_state *,
545 struct nfsd4_open *open);
540extern __be32 nfsd4_process_open2(struct svc_rqst *rqstp, 546extern __be32 nfsd4_process_open2(struct svc_rqst *rqstp,
541 struct svc_fh *current_fh, struct nfsd4_open *open); 547 struct svc_fh *current_fh, struct nfsd4_open *open);
542extern __be32 nfsd4_open_confirm(struct svc_rqst *rqstp, 548extern __be32 nfsd4_open_confirm(struct svc_rqst *rqstp,