diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2013-05-31 15:54:44 +0800 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-07-03 15:32:44 -0700 |
commit | eb845ff13a44477f8a411baedbf11d678b9daf0a (patch) | |
tree | 409c6c763ff1e03b3b9c2a166444d635317bdf0d /include/linux/ceph | |
parent | d552c6191bcd952991ffdfff585c8849e8be911d (diff) |
libceph: fix safe completion
handle_reply() calls complete_request() only if the first OSD reply
has ONDISK flag.
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r-- | include/linux/ceph/osd_client.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h index 186db0bf495..ce6df39f60f 100644 --- a/include/linux/ceph/osd_client.h +++ b/include/linux/ceph/osd_client.h @@ -145,7 +145,6 @@ struct ceph_osd_request { s32 r_reply_op_result[CEPH_OSD_MAX_OP]; int r_got_reply; int r_linger; - int r_completed; struct ceph_osd_client *r_osdc; struct kref r_kref; |