diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-06-24 01:04:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 03:06:36 -0400 |
commit | 0964a3d3f1aa96468091924f6b0c391a46dc6d0b (patch) | |
tree | 0a6b0587d1922d64ca7e4aa7f306ad869bccf452 /include/linux | |
parent | c7b9a45927e74c81d6562153f7fde9d32da00159 (diff) |
[PATCH] knfsd: nfsd4 reboot dirname fix
Set the recovery directory via /proc/fs/nfsd/nfs4recoverydir.
It may be changed any time, but is used only on startup.
Signed-off-by: Andy Adamson <andros@citi.umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfsd/nfsd.h | 2 |
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); | |||
150 | void nfs4_state_shutdown(void); | 150 | void nfs4_state_shutdown(void); |
151 | time_t nfs4_lease_time(void); | 151 | time_t nfs4_lease_time(void); |
152 | void nfs4_reset_lease(time_t leasetime); | 152 | void nfs4_reset_lease(time_t leasetime); |
153 | int nfs4_reset_recoverydir(char *recdir); | ||
153 | #else | 154 | #else |
154 | static inline void nfs4_state_init(void){}; | 155 | static inline void nfs4_state_init(void){}; |
155 | static inline int nfs4_state_start(void){return 0;} | 156 | static inline int nfs4_state_start(void){return 0;} |
156 | static inline void nfs4_state_shutdown(void){} | 157 | static inline void nfs4_state_shutdown(void){} |
157 | static inline time_t nfs4_lease_time(void){return 0;} | 158 | static inline time_t nfs4_lease_time(void){return 0;} |
158 | 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;} | ||
159 | #endif | 161 | #endif |
160 | 162 | ||
161 | /* | 163 | /* |