diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2011-09-23 14:53:30 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-11-06 00:10:12 -0400 |
commit | 0c6d4b4e22a513f8563a2e00c5ab08e9f8796272 (patch) | |
tree | 7c9401773dad6f6d64fea935b4623bab4e83c046 /fs/ceph/super.c | |
parent | 7fd7d101ff50af55d6d69f4705facc00c324024e (diff) |
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>
Diffstat (limited to 'fs/ceph/super.c')
-rw-r--r-- | fs/ceph/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c index 788f5ad8e66d..a90846fac759 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c | |||
@@ -426,7 +426,7 @@ static int extra_mon_dispatch(struct ceph_client *client, struct ceph_msg *msg) | |||
426 | /* | 426 | /* |
427 | * create a new fs client | 427 | * create a new fs client |
428 | */ | 428 | */ |
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, |
430 | struct ceph_options *opt) | 430 | struct ceph_options *opt) |
431 | { | 431 | { |
432 | struct ceph_fs_client *fsc; | 432 | struct ceph_fs_client *fsc; |
@@ -502,7 +502,7 @@ fail: | |||
502 | return ERR_PTR(err); | 502 | return ERR_PTR(err); |
503 | } | 503 | } |
504 | 504 | ||
505 | void destroy_fs_client(struct ceph_fs_client *fsc) | 505 | static void destroy_fs_client(struct ceph_fs_client *fsc) |
506 | { | 506 | { |
507 | dout("destroy_fs_client %p\n", fsc); | 507 | dout("destroy_fs_client %p\n", fsc); |
508 | 508 | ||