diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-07-08 20:54:08 +0800 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-07-09 19:36:33 -0400 |
commit | b78fa45d4edb92fd7b882b2ec25b936cad412670 (patch) | |
tree | f65add95f7553706b7b763e566ba0a77f712b502 /fs/nfsd | |
parent | 297e57a24f6e2d5a041822003816124e48164eef (diff) | |
download | linux-stable-b78fa45d4edb92fd7b882b2ec25b936cad412670.tar.gz linux-stable-b78fa45d4edb92fd7b882b2ec25b936cad412670.tar.bz2 linux-stable-b78fa45d4edb92fd7b882b2ec25b936cad412670.zip |
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>
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfsctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |