mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-20 08:38:24 +08:00
ceph/super.c: quiet sparse noise
Quiet the sparse noise: warning: symbol 'create_fs_client' was not declared. Should it be static? warning: symbol 'destroy_fs_client' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Sage Weil <sage@newdream.net> ceph-devel@vger.kernel.org Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
7fd7d101ff
commit
0c6d4b4e22
@ -426,7 +426,7 @@ static int extra_mon_dispatch(struct ceph_client *client, struct ceph_msg *msg)
|
||||
/*
|
||||
* create a new fs client
|
||||
*/
|
||||
struct ceph_fs_client *create_fs_client(struct ceph_mount_options *fsopt,
|
||||
static struct ceph_fs_client *create_fs_client(struct ceph_mount_options *fsopt,
|
||||
struct ceph_options *opt)
|
||||
{
|
||||
struct ceph_fs_client *fsc;
|
||||
@ -502,7 +502,7 @@ fail:
|
||||
return ERR_PTR(err);
|
||||
}
|
||||
|
||||
void destroy_fs_client(struct ceph_fs_client *fsc)
|
||||
static void destroy_fs_client(struct ceph_fs_client *fsc)
|
||||
{
|
||||
dout("destroy_fs_client %p\n", fsc);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user