aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2011-09-23 13:22:11 -0700
committerSage Weil <sage@newdream.net>2011-11-05 21:10:11 -0700
commit7fd7d101ff50af55d6d69f4705facc00c324024e (patch)
tree5314049cb1fc3e27d9962962bcea0194ce971b39 /fs/ceph/mds_client.c
parentc6ffe10015f4e6fba8a915318b319c43aed1836f (diff)
downloadkernel_goldelico_gta04-7fd7d101ff50af55d6d69f4705facc00c324024e.zip
kernel_goldelico_gta04-7fd7d101ff50af55d6d69f4705facc00c324024e.tar.gz
kernel_goldelico_gta04-7fd7d101ff50af55d6d69f4705facc00c324024e.tar.bz2
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c
index b4c3efa..264ab70 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,
*
* Called under mdsc->mutex.
*/
-struct dentry *get_nonsnap_parent(struct dentry *dentry)
+static struct dentry *get_nonsnap_parent(struct dentry *dentry)
{
/*
* 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)
/*
* true if all sessions are closed, or we force unmount
*/
-bool done_closing_sessions(struct ceph_mds_client *mdsc)
+static bool done_closing_sessions(struct ceph_mds_client *mdsc)
{
int i, n = 0;