]> git.baikalelectronics.ru Git - kernel.git/commit
lockd: Make two symbols static
authorYueHaibing <yuehaibing@huawei.com>
Tue, 28 May 2019 09:06:52 +0000 (17:06 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 3 Jul 2019 21:52:09 +0000 (17:52 -0400)
commit645d85c11e7b5c0601498d8a13502c8b4e5804b4
treec71ac1ea78a3feae4364001dbb20bc1a1f683190
parent972e3cf2471f6200923dc3cbdfac559e1c68dc0f
lockd: Make two symbols static

Fix sparse warnings:

fs/lockd/clntproc.c:57:6: warning: symbol 'nlmclnt_put_lockowner' was not declared. Should it be static?
fs/lockd/svclock.c:409:35: warning: symbol 'nlmsvc_lock_ops' 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>
fs/lockd/clntproc.c
fs/lockd/svclock.c