lkml.org 
[lkml]   [2021]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] nfs_common: modify the comments for locks_end_grace and locks_in_grace
Date
This patch moves the comment for the @net parameter to the right place.

Signed-off-by: Fengfei Xi <xi.fengfei@h3c.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
\
 
 \ /
  Last update: 2021-03-21 11:52    [W:0.023 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site