aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfsd/nfsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nfsd/nfsd.h')
-rw-r--r--include/linux/nfsd/nfsd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/nfsd/nfsd.h b/include/linux/nfsd/nfsd.h
index 4bf931d5ff56..3855fdc5af77 100644
--- a/include/linux/nfsd/nfsd.h
+++ b/include/linux/nfsd/nfsd.h
@@ -145,12 +145,12 @@ int nfsd_set_posix_acl(struct svc_fh *, int, struct posix_acl *);
145 * NFSv4 State 145 * NFSv4 State
146 */ 146 */
147#ifdef CONFIG_NFSD_V4 147#ifdef CONFIG_NFSD_V4
148int nfs4_state_init(void); 148int nfs4_state_start(void);
149void nfs4_state_shutdown(void); 149void nfs4_state_shutdown(void);
150time_t nfs4_lease_time(void); 150time_t nfs4_lease_time(void);
151void nfs4_reset_lease(time_t leasetime); 151void nfs4_reset_lease(time_t leasetime);
152#else 152#else
153static inline int nfs4_state_init(void){return 0;} 153static inline int nfs4_state_start(void){return 0;}
154static inline void nfs4_state_shutdown(void){} 154static inline void nfs4_state_shutdown(void){}
155static inline time_t nfs4_lease_time(void){return 0;} 155static inline time_t nfs4_lease_time(void){return 0;}
156static inline void nfs4_reset_lease(time_t leasetime){} 156static inline void nfs4_reset_lease(time_t leasetime){}