Skip to content

Commit

Permalink
nfsd: clean up comments over nfs4_client definition
Browse files Browse the repository at this point in the history
nfsd fault injection has been deprecated since
commit 9d60d93 ("Deprecate nfsd fault injection")
and removed by
commit e56dc9e ("nfsd: remove fault injection code")

So remove the outdated parts about fault injection.

Signed-off-by: Chen Hanxiao <chenhx.fnst@fujitsu.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
  • Loading branch information
Chen Hanxiao authored and Chuck Lever committed Mar 1, 2024
1 parent e084ee6 commit f810402
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions fs/nfsd/state.h
Original file line number Diff line number Diff line change
Expand Up @@ -334,16 +334,17 @@ enum {
* 0. If they are not renewed within a lease period, they become eligible for
* destruction by the laundromat.
*
* These objects can also be destroyed prematurely by the fault injection code,
* or if the client sends certain forms of SETCLIENTID or EXCHANGE_ID updates.
* These objects can also be destroyed if the client sends certain forms of
* SETCLIENTID or EXCHANGE_ID operations.
*
* Care is taken *not* to do this however when the objects have an elevated
* refcount.
*
* o Each nfs4_client is hashed by clientid
*
* o Each nfs4_clients is also hashed by name (the opaque quantity initially
* sent by the client to identify itself).
*
*
* o cl_perclient list is used to ensure no dangling stateowner references
* when we expire the nfs4_client
*/
Expand Down

0 comments on commit f810402

Please sign in to comment.