projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
297e57a
)
nfsd: Make __get_nfsdfs_client() static
author
YueHaibing
<yuehaibing@huawei.com>
Mon, 8 Jul 2019 12:54:08 +0000
(20:54 +0800)
committer
J. Bruce Fields
<bfields@redhat.com>
Tue, 9 Jul 2019 23:36:33 +0000
(19:36 -0400)
Fix sparse warning:
fs/nfsd/nfsctl.c:1221:22: warning:
symbol '__get_nfsdfs_client' was not declared. Should it be static?
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfsctl.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/nfsctl.c
b/fs/nfsd/nfsctl.c
index 4683ba5c69c7e4e97d8c5da9bd83ea3510458b5f..72fad54fc7e5b0728aac7e0706669368114fec99 100644
(file)
--- a/
fs/nfsd/nfsctl.c
+++ b/
fs/nfsd/nfsctl.c
@@
-1218,7
+1218,7
@@
static void clear_ncl(struct inode *inode)
}
-struct nfsdfs_client *__get_nfsdfs_client(struct inode *inode)
+st
atic st
ruct nfsdfs_client *__get_nfsdfs_client(struct inode *inode)
{
struct nfsdfs_client *nc = inode->i_private;