]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: make ceph_netfs_read_ops static
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 14 May 2021 06:39:53 +0000 (06:39 +0000)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 28 Jun 2021 21:49:24 +0000 (23:49 +0200)
commita7801de646b4618f3473f07c5e0547c89300ba74
tree582e99e6be24d6c9adabc52494599ace5fa84e4b
parent3150a675f0497d0fd63f6dc7c5e2947fcc2dea9c
ceph: make ceph_netfs_read_ops static

The sparse tool complains as follows:

fs/ceph/addr.c:316:37: warning:
 symbol 'ceph_netfs_read_ops' was not declared. Should it be static?

This symbol is not used outside of addr.c, so mark it static.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/addr.c