[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210321083806.842-1-xi.fengfei@h3c.com>
Date: Sun, 21 Mar 2021 16:38:06 +0800
From: Fengfei Xi <xi.fengfei@....com>
To: <trond.myklebust@...merspace.com>, <anna.schumaker@...app.com>
CC: <bfields@...ldses.org>, <chuck.lever@...cle.com>,
<linux-nfs@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Fengfei Xi <xi.fengfei@....com>
Subject: [PATCH] nfs_common: modify the comments for locks_end_grace and locks_in_grace
This patch moves the comment for the @net parameter to the right place.
Signed-off-by: Fengfei Xi <xi.fengfei@....com>
---
fs/nfs_common/grace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/nfs_common/grace.c b/fs/nfs_common/grace.c
index 26f2a50ec..9b1a5c7d3 100644
--- a/fs/nfs_common/grace.c
+++ b/fs/nfs_common/grace.c
@@ -42,7 +42,6 @@ EXPORT_SYMBOL_GPL(locks_start_grace);
/**
* locks_end_grace
- * @net: net namespace that this lock manager belongs to
* @lm: who this grace period is for
*
* Call this function to state that the given lock manager is ready to
@@ -82,6 +81,7 @@ __state_in_grace(struct net *net, bool open)
/**
* locks_in_grace
+ * @net: net namespace that this lock manager belongs to
*
* 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.17.1
Powered by blists - more mailing lists