Skip to contentSkip to conversation

nfs_common: fix doc warning

PATCH New ChenXiaoSong 1 participant 1 message Jun 7, 2021

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

PATCH 1/1 nfs_common: fix doc warning

Fix gcc W=1 warning:

fs/nfs_common/grace.c:91: warning: Function parameter or member 'net' not described in 'locks_in_grace'

---
 fs/nfs_common/grace.c | 1 +
 1 file changed, 1 insertion(+)
fs/nfs_common/grace.c +1 -0
index 26f2a50eceac..edec45831585 100644
@@ -82,6 +82,7 @@ __state_in_grace(struct net *net, bool open)
 
 /**
  * locks_in_grace
+ * @net: network namespace
  *
  * Lock managers call this function to determine when it is OK for them
  * to answer ordinary lock requests, and when they should accept only
Signature · 1 line
2.25.4