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:
parent
297e57a24f
commit
b78fa45d4e
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue