diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2011-09-23 16:22:11 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-11-06 00:10:11 -0400 |
commit | 7fd7d101ff50af55d6d69f4705facc00c324024e (patch) | |
tree | 5314049cb1fc3e27d9962962bcea0194ce971b39 /fs/ceph/mds_client.c | |
parent | c6ffe10015f4e6fba8a915318b319c43aed1836f (diff) |
ceph/mds_client.c: quiet sparse noise
Quiet the following sparse noise:
warning: symbol 'get_nonsnap_parent' was not declared. Should it be static?
warning: symbol 'done_closing_sessions' was not declared. Should it be static?
Local functions don't need external visability. Make them static.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Sage Weil <sage@newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/mds_client.c')
-rw-r--r-- | fs/ceph/mds_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c index b4c3efa163c2..264ab701154f 100644 --- a/fs/ceph/mds_client.c +++ b/fs/ceph/mds_client.c | |||
@@ -619,7 +619,7 @@ static void __unregister_request(struct ceph_mds_client *mdsc, | |||
619 | * | 619 | * |
620 | * Called under mdsc->mutex. | 620 | * Called under mdsc->mutex. |
621 | */ | 621 | */ |
622 | struct dentry *get_nonsnap_parent(struct dentry *dentry) | 622 | static struct dentry *get_nonsnap_parent(struct dentry *dentry) |
623 | { | 623 | { |
624 | /* | 624 | /* |
625 | * we don't need to worry about protecting the d_parent access | 625 | * we don't need to worry about protecting the d_parent access |
@@ -3154,7 +3154,7 @@ void ceph_mdsc_sync(struct ceph_mds_client *mdsc) | |||
3154 | /* | 3154 | /* |
3155 | * true if all sessions are closed, or we force unmount | 3155 | * true if all sessions are closed, or we force unmount |
3156 | */ | 3156 | */ |
3157 | bool done_closing_sessions(struct ceph_mds_client *mdsc) | 3157 | static bool done_closing_sessions(struct ceph_mds_client *mdsc) |
3158 | { | 3158 | { |
3159 | int i, n = 0; | 3159 | int i, n = 0; |
3160 | 3160 | ||