From: YueHaibing Date: Mon, 8 Jul 2019 12:54:08 +0000 (+0800) Subject: nfsd: Make __get_nfsdfs_client() static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b78fa45d4edb92fd7b882b2ec25b936cad412670;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: YueHaibing Signed-off-by: J. Bruce Fields --- diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index 4683ba5c69c7..72fad54fc7e5 100644 --- 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) +static struct nfsdfs_client *__get_nfsdfs_client(struct inode *inode) { struct nfsdfs_client *nc = inode->i_private;