From b78fa45d4edb92fd7b882b2ec25b936cad412670 Mon Sep 17 00:00:00 2001 From: YueHaibing Date: Mon, 8 Jul 2019 20:54:08 +0800 Subject: [PATCH] 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 --- fs/nfsd/nfsctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index 4683ba5..72fad54 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; -- 2.7.4