aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfsd
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nfsd')
-rw-r--r--include/linux/nfsd/nfsd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfsd/nfsd.h b/include/linux/nfsd/nfsd.h
index 21c6e9d86e4f..5791dfd30dd0 100644
--- a/include/linux/nfsd/nfsd.h
+++ b/include/linux/nfsd/nfsd.h
@@ -150,12 +150,14 @@ int nfs4_state_start(void);
150void nfs4_state_shutdown(void); 150void nfs4_state_shutdown(void);
151time_t nfs4_lease_time(void); 151time_t nfs4_lease_time(void);
152void nfs4_reset_lease(time_t leasetime); 152void nfs4_reset_lease(time_t leasetime);
153int nfs4_reset_recoverydir(char *recdir);
153#else 154#else
154static inline void nfs4_state_init(void){}; 155static inline void nfs4_state_init(void){};
155static inline int nfs4_state_start(void){return 0;} 156static inline int nfs4_state_start(void){return 0;}
156static inline void nfs4_state_shutdown(void){} 157static inline void nfs4_state_shutdown(void){}
157static inline time_t nfs4_lease_time(void){return 0;} 158static inline time_t nfs4_lease_time(void){return 0;}
158static inline void nfs4_reset_lease(time_t leasetime){} 159static inline void nfs4_reset_lease(time_t leasetime){}
160static inline int nfs4_reset_recoverydir(char *recdir) {return 0;}
159#endif 161#endif
160 162
161/* 163/*