]> git.baikalelectronics.ru Git - kernel.git/commitdiff
nfs_common: fix doc warning
authorChenXiaoSong <chenxiaosong2@huawei.com>
Mon, 7 Jun 2021 06:28:23 +0000 (14:28 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 7 Jul 2021 00:14:41 +0000 (20:14 -0400)
Fix gcc W=1 warning:

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

Signed-off-by: ChenXiaoSong <chenxiaosong2@huawei.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfs_common/grace.c

index 26f2a50eceac9d70003a43e2c44a5f75238a7b8d..edec458315854631e59ae0f0a4a9070b3ef6d4be 100644 (file)
@@ -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