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

Commit ce05beb3 authored by Trond Myklebust's avatar Trond Myklebust Committed by Greg Kroah-Hartman
Browse files

NFSv4: Ensure that the state manager exits the loop on SIGKILL



[ Upstream commit a1aa09be21fa344d1f5585aab8164bfae55f57e3 ]

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 952b0285
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2613,7 +2613,7 @@ static void nfs4_state_manager(struct nfs_client *clp)
			return;
		if (test_and_set_bit(NFS4CLNT_MANAGER_RUNNING, &clp->cl_state) != 0)
			return;
	} while (refcount_read(&clp->cl_count) > 1);
	} while (refcount_read(&clp->cl_count) > 1 && !signalled());
	goto out_drain;

out_error: