projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5418526
)
nfs_common: fix doc warning
author
ChenXiaoSong
<chenxiaosong2@huawei.com>
Mon, 7 Jun 2021 06:28:23 +0000
(14:28 +0800)
committer
J. 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
patch
|
blob
|
history
diff --git
a/fs/nfs_common/grace.c
b/fs/nfs_common/grace.c
index
26f2a50
..
edec458
100644
(file)
--- 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