Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be0bfed0 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: When purging the lease, we must clear NFS4CLNT_LEASE_CONFIRM



Otherwise we can end up not sending a new exchange-id/setclientid

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 2a6ee6aa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1647,6 +1647,7 @@ static void nfs4_reset_all_state(struct nfs_client *clp)
{
	if (test_and_set_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state) == 0) {
		set_bit(NFS4CLNT_PURGE_STATE, &clp->cl_state);
		clear_bit(NFS4CLNT_LEASE_CONFIRM, &clp->cl_state);
		nfs4_state_start_reclaim_nograce(clp);
		nfs4_schedule_state_manager(clp);
	}