aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@cse.unsw.edu.au>2005-07-07 20:59:24 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 21:24:09 -0400
commit52fd004e296ac07cde820af9e3139d47dda03cf8 (patch)
tree1ded0ee9f0f3df0a268a09ef6873c8ae2a75cbff /fs/nfsd/nfs4state.c
parentb700949b781480819e53bdc38a53f053226dd75e (diff)
[PATCH] nfsd4: renew lease on seqid modifying operations
nfs4_preprocess_seqid_op is called by NFSv4 operations that imply an implicit renewal of the client lease. 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 'fs/nfsd/nfs4state.c')
-rw-r--r--fs/nfsd/nfs4state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 3647c942915..7694fb8aae3 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -2258,7 +2258,7 @@ nfs4_preprocess_seqid_op(struct svc_fh *current_fh, u32 seqid, stateid_t *statei
2258 printk("NFSD: preprocess_seqid_op: old stateid!\n"); 2258 printk("NFSD: preprocess_seqid_op: old stateid!\n");
2259 goto out; 2259 goto out;
2260 } 2260 }
2261 /* XXX renew the client lease here */ 2261 renew_client(sop->so_client);
2262 status = nfs_ok; 2262 status = nfs_ok;
2263 2263
2264out: 2264out: