]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSv4: clp->cl_cons_state < 0 signifies an invalid nfs_client
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 25 Mar 2025 00:03:03 +0000 (20:03 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 26 Mar 2025 16:19:51 +0000 (12:19 -0400)
commitc81d5bcb7b38ab0322aea93152c091451b82d3f3
tree00186edf5b4acf7de070528c1cba48c886eeccb5
parent3eba080e4d4f7bcc22ba19b43ab5fd412d99d1ba
NFSv4: clp->cl_cons_state < 0 signifies an invalid nfs_client

If someone calls nfs_mark_client_ready(clp, status) with a negative
value for status, then that should signal that the nfs_client is no
longer valid.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4state.c