summaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2013-05-31 15:54:44 +0800
committerSage Weil <sage@inktank.com>2013-07-03 15:32:44 -0700
commiteb845ff13a44477f8a411baedbf11d678b9daf0a (patch)
tree409c6c763ff1e03b3b9c2a166444d635317bdf0d /include/linux/ceph
parentd552c6191bcd952991ffdfff585c8849e8be911d (diff)
downloadop-kernel-dev-eb845ff13a44477f8a411baedbf11d678b9daf0a.zip
op-kernel-dev-eb845ff13a44477f8a411baedbf11d678b9daf0a.tar.gz
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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h
index 186db0b..ce6df39 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;
OpenPOWER on IntegriCloud