From: NeilBrown Date: Fri, 8 Jul 2005 00:59:24 +0000 (-0700) Subject: [PATCH] nfsd4: renew lease on seqid modifying operations X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=52fd004e296ac07cde820af9e3139d47dda03cf8;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 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 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: