aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfsd.h')
-rw-r--r--fs/nfsd/nfsd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h
index 74f67c2aca34..ac121ad16540 100644
--- a/fs/nfsd/nfsd.h
+++ b/fs/nfsd/nfsd.h
@@ -70,6 +70,11 @@ int nfsd_create_serv(void);
70 70
71extern int nfsd_max_blksize; 71extern int nfsd_max_blksize;
72 72
73static inline int nfsd_v4client(struct svc_rqst *rq)
74{
75 return rq->rq_prog == NFS_PROGRAM && rq->rq_vers == 4;
76}
77
73/* 78/*
74 * NFSv4 State 79 * NFSv4 State
75 */ 80 */