diff options
author | Yan, Zheng <zyan@redhat.com> | 2014-09-16 05:50:45 -0400 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2014-10-14 15:56:48 -0400 |
commit | e4339d28f640a7c0d92903bcf389a2dfa281270d (patch) | |
tree | 428c172af1081d29613732cdcf7801f958be358f /fs/ceph | |
parent | 0abb43dcacb52145aa265f82c914375d59dfe2da (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.c | 1 |
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); |
2866 | fail_nomsg: | 2866 | fail_nomsg: |
2867 | ceph_pagelist_release(pagelist); | 2867 | ceph_pagelist_release(pagelist); |
2868 | kfree(pagelist); | ||
2869 | fail_nopagelist: | 2868 | fail_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; |