diff options
Diffstat (limited to 'include/linux/nfsd/nfsd.h')
-rw-r--r-- | include/linux/nfsd/nfsd.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/nfsd/nfsd.h b/include/linux/nfsd/nfsd.h index 4bf931d5ff56..5791dfd30dd0 100644 --- a/include/linux/nfsd/nfsd.h +++ b/include/linux/nfsd/nfsd.h | |||
@@ -145,15 +145,19 @@ 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 |
148 | int nfs4_state_init(void); | 148 | void nfs4_state_init(void); |
149 | int nfs4_state_start(void); | ||
149 | void nfs4_state_shutdown(void); | 150 | void nfs4_state_shutdown(void); |
150 | time_t nfs4_lease_time(void); | 151 | time_t nfs4_lease_time(void); |
151 | void nfs4_reset_lease(time_t leasetime); | 152 | void nfs4_reset_lease(time_t leasetime); |
153 | int nfs4_reset_recoverydir(char *recdir); | ||
152 | #else | 154 | #else |
153 | static inline int nfs4_state_init(void){return 0;} | 155 | static inline void nfs4_state_init(void){}; |
156 | static inline int nfs4_state_start(void){return 0;} | ||
154 | static inline void nfs4_state_shutdown(void){} | 157 | static inline void nfs4_state_shutdown(void){} |
155 | static inline time_t nfs4_lease_time(void){return 0;} | 158 | static inline time_t nfs4_lease_time(void){return 0;} |
156 | static inline void nfs4_reset_lease(time_t leasetime){} | 159 | static inline void nfs4_reset_lease(time_t leasetime){} |
160 | static inline int nfs4_reset_recoverydir(char *recdir) {return 0;} | ||
157 | #endif | 161 | #endif |
158 | 162 | ||
159 | /* | 163 | /* |