diff options
author | Yan, Zheng <zyan@redhat.com> | 2014-09-16 09:50:45 (GMT) |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2014-10-14 19:56:48 (GMT) |
commit | e4339d28f640a7c0d92903bcf389a2dfa281270d (patch) | |
tree | 428c172af1081d29613732cdcf7801f958be358f /fs/ceph/mds_client.c | |
parent | 0abb43dcacb52145aa265f82c914375d59dfe2da (diff) | |
download | linux-e4339d28f640a7c0d92903bcf389a2dfa281270d.tar.xz |
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/mds_client.c')
-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 5474feb..b4430ce 100644 --- a/fs/ceph/mds_client.c +++ b/fs/ceph/mds_client.c @@ -2865,7 +2865,6 @@ fail: mutex_unlock(&session->s_mutex); fail_nomsg: ceph_pagelist_release(pagelist); - kfree(pagelist); fail_nopagelist: pr_err("error %d preparing reconnect for mds%d\n", err, mds); return; |