Skip to content

Commit 0c6d4b4

Browse files
H Hartley Sweetenliewegas
authored andcommitted
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>
1 parent 7fd7d10 commit 0c6d4b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎fs/ceph/super.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ static int extra_mon_dispatch(struct ceph_client *client, struct ceph_msg *msg)
426426
/*
427427
* create a new fs client
428428
*/
429-
struct ceph_fs_client *create_fs_client(struct ceph_mount_options *fsopt,
429+
static struct ceph_fs_client *create_fs_client(struct ceph_mount_options *fsopt,
430430
struct ceph_options *opt)
431431
{
432432
struct ceph_fs_client *fsc;
@@ -502,7 +502,7 @@ struct ceph_fs_client *create_fs_client(struct ceph_mount_options *fsopt,
502502
return ERR_PTR(err);
503503
}
504504

505-
void destroy_fs_client(struct ceph_fs_client *fsc)
505+
static void destroy_fs_client(struct ceph_fs_client *fsc)
506506
{
507507
dout("destroy_fs_client %p\n", fsc);
508508

0 commit comments

Comments
 (0)