aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2014-09-16 05:50:45 -0400
committerSage Weil <sage@redhat.com>2014-10-14 15:56:48 -0400
commite4339d28f640a7c0d92903bcf389a2dfa281270d (patch)
tree428c172af1081d29613732cdcf7801f958be358f /fs/ceph
parent0abb43dcacb52145aa265f82c914375d59dfe2da (diff)
libceph: reference counting pagelist
this allow pagelist to present data that may be sent multiple times. Signed-off-by: Yan, Zheng <zyan@redhat.com> Reviewed-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/mds_client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c
index 5474feb77743..b4430ce1b3f6 100644
--- a/fs/ceph/mds_client.c
+++ b/fs/ceph/mds_client.c
@@ -2865,7 +2865,6 @@ fail:
2865 mutex_unlock(&session->s_mutex); 2865 mutex_unlock(&session->s_mutex);
2866fail_nomsg: 2866fail_nomsg:
2867 ceph_pagelist_release(pagelist); 2867 ceph_pagelist_release(pagelist);
2868 kfree(pagelist);
2869fail_nopagelist: 2868fail_nopagelist:
2870 pr_err("error %d preparing reconnect for mds%d\n", err, mds); 2869 pr_err("error %d preparing reconnect for mds%d\n", err, mds);
2871 return; 2870 return;