Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3108
b: refs/heads/master
c: 76a3550
h: refs/heads/master
v: v3
  • Loading branch information
NeilBrown authored and Linus Torvalds committed Jun 24, 2005
1 parent 20333a6 commit a5488d4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7b190fecfa33d72bcf74c9473134c2ad14ae9545
refs/heads/master: 76a3550ec50ed86885a10a767ebaebb7c9104721
6 changes: 3 additions & 3 deletions trunk/fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -3185,7 +3185,7 @@ nfs4_check_open_reclaim(clientid_t *clid)
*/

static void
__nfs4_state_init(void)
__nfs4_state_start(void)
{
int i;
time_t grace_time;
Expand Down Expand Up @@ -3235,7 +3235,7 @@ __nfs4_state_init(void)
}

int
nfs4_state_init(void)
nfs4_state_start(void)
{
int status;

Expand All @@ -3244,7 +3244,7 @@ nfs4_state_init(void)
status = nfsd4_init_slabs();
if (status)
return status;
__nfs4_state_init();
__nfs4_state_start();
nfs4_init = 1;
return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/nfsd/nfssvc.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ nfsd_svc(unsigned short port, int nrservs)
error = nfsd_racache_init(2*nrservs);
if (error<0)
goto out;
error = nfs4_state_init();
error = nfs4_state_start();
if (error<0)
goto out;
if (!nfsd_serv) {
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/linux/nfsd/nfsd.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,12 @@ int nfsd_set_posix_acl(struct svc_fh *, int, struct posix_acl *);
* NFSv4 State
*/
#ifdef CONFIG_NFSD_V4
int nfs4_state_init(void);
int nfs4_state_start(void);
void nfs4_state_shutdown(void);
time_t nfs4_lease_time(void);
void nfs4_reset_lease(time_t leasetime);
#else
static inline int nfs4_state_init(void){return 0;}
static inline int nfs4_state_start(void){return 0;}
static inline void nfs4_state_shutdown(void){}
static inline time_t nfs4_lease_time(void){return 0;}
static inline void nfs4_reset_lease(time_t leasetime){}
Expand Down

0 comments on commit a5488d4

Please sign in to comment.