From: NeilBrown Date: Fri, 8 Jul 2005 00:59:24 +0000 (-0700) Subject: [PATCH] nfsd4: renew lease on seqid modifying operations X-Git-Tag: v3.12-rc1~43288 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52fd004e296ac07cde820af9e3139d47dda03cf8;p=kernel%2Fkernel-generic.git [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 Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 3647c94..7694fb8 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 printk("NFSD: preprocess_seqid_op: old stateid!\n"); goto out; } - /* XXX renew the client lease here */ + renew_client(sop->so_client); status = nfs_ok; out: