[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210607062823.328716-1-chenxiaosong2@huawei.com>
Date: Mon, 7 Jun 2021 14:28:23 +0800
From: ChenXiaoSong <chenxiaosong2@...wei.com>
To: <bfields@...ldses.org>, <chuck.lever@...cle.com>,
<trond.myklebust@...merspace.com>, <anna.schumaker@...app.com>
CC: <linux-nfs@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<yukuai3@...wei.com>, <yi.zhang@...wei.com>,
<chenxiaosong2@...wei.com>
Subject: [PATCH -next] 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'
Signed-off-by: ChenXiaoSong <chenxiaosong2@...wei.com>
---
fs/nfs_common/grace.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/nfs_common/grace.c b/fs/nfs_common/grace.c
index 26f2a50eceac..edec45831585 100644
--- a/fs/nfs_common/grace.c
+++ b/fs/nfs_common/grace.c
@@ -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
--
2.25.4
Powered by blists - more mailing lists