]> www.infradead.org Git - users/jedix/linux-maple.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>
Wed, 2 Jun 2021 08:40:36 +0000 (10:40 +0200)
commit862e3dcedc118c42e01816e55a44516943c7b08c
treed5cabfaa1098a75f2359c9e19d85ebbfddc0d93d
parent9e06e4f77c86def0cda4b02f9180891243bc64a1
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