Skip to contentSkip to conversation

nfsd: clean up comments over nfs4_client definition

PATCH In review Chen Hanxiao 2 participants 2 messages Feb 8, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfsd: clean up comments over nfs4_client definition

nfsd fault injection has been deprecated since commit 9d60d93198c6 ("Deprecate nfsd fault injection") and removed by
commit e56dc9e2949e ("nfsd: remove fault injection code")

So remove the outdated parts about fault injection.

---
 fs/nfsd/state.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
fs/nfsd/state.h +3 -3
index 41bdc913fa71..2231d9da9bfe 100644
@@ -317,8 +317,8 @@ 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 prematurely if the client sends certain
+ * forms of SETCLIENTID or EXCHANGE_ID updates.
  * Care is taken *not* to do this however when the objects have an elevated
  * refcount.
  *
@@ -326,7 +326,7 @@ enum {
  *
  * 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
  */
Signature · 1 line
2.43.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 28 lines · Chen Hanxiao

nfsd fault injection has been deprecated since commit 9d60d93198c6 ("Deprecate nfsd fault injection") and removed by
commit e56dc9e2949e ("nfsd: remove fault injection code")

So remove the outdated parts about fault injection.

---
 fs/nfsd/state.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
fs/nfsd/state.h +2 -2
index 41bdc913fa71..2231d9da9bfe 100644
@@ -317,8 +317,8 @@ 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 prematurely if the client sends certain
+ * forms of SETCLIENTID or EXCHANGE_ID updates.
  * Care is taken *not* to do this however when the objects have an elevated
  * refcount.
  *

fs/nfsd/state.h enum { · line 332

Quoted 8 lines
fs/nfsd/state.h +1 -1
@@ -326,7 +326,7 @@ enum {
  *
  * 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
  */