nfsd: Make __get_nfsdfs_client() static

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>
This commit is contained in:
YueHaibing 2019-07-08 20:54:08 +08:00 committed by J. Bruce Fields
parent 297e57a24f
commit b78fa45d4e
1 changed files with 1 additions and 1 deletions

View File

@ -1218,7 +1218,7 @@ static void clear_ncl(struct inode *inode)
}
struct nfsdfs_client *__get_nfsdfs_client(struct inode *inode)
static struct nfsdfs_client *__get_nfsdfs_client(struct inode *inode)
{
struct nfsdfs_client *nc = inode->i_private;