aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/mds_client.c')
-rw-r--r--fs/ceph/mds_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c
index fdecf9984180..69feeb1c9819 100644
--- a/fs/ceph/mds_client.c
+++ b/fs/ceph/mds_client.c
@@ -2552,7 +2552,7 @@ static void delayed_work(struct work_struct *work)
2552} 2552}
2553 2553
2554 2554
2555void ceph_mdsc_init(struct ceph_mds_client *mdsc, struct ceph_client *client) 2555int ceph_mdsc_init(struct ceph_mds_client *mdsc, struct ceph_client *client)
2556{ 2556{
2557 mdsc->client = client; 2557 mdsc->client = client;
2558 mutex_init(&mdsc->mutex); 2558 mutex_init(&mdsc->mutex);
@@ -2582,6 +2582,7 @@ void ceph_mdsc_init(struct ceph_mds_client *mdsc, struct ceph_client *client)
2582 init_waitqueue_head(&mdsc->cap_flushing_wq); 2582 init_waitqueue_head(&mdsc->cap_flushing_wq);
2583 spin_lock_init(&mdsc->dentry_lru_lock); 2583 spin_lock_init(&mdsc->dentry_lru_lock);
2584 INIT_LIST_HEAD(&mdsc->dentry_lru); 2584 INIT_LIST_HEAD(&mdsc->dentry_lru);
2585 return 0;
2585} 2586}
2586 2587
2587/* 2588/*