2021-03-21 10:59:55

by Fengfei Xi

[permalink] [raw]
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 <[email protected]>
---
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