libceph: fix safe completion
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 31 May 2013 07:54:44 +0000 (15:54 +0800)
committerSage Weil <sage@inktank.com>
Wed, 3 Jul 2013 22:32:44 +0000 (15:32 -0700)
commiteb845ff13a44477f8a411baedbf11d678b9daf0a
tree409c6c763ff1e03b3b9c2a166444d635317bdf0d
parentd552c6191bcd952991ffdfff585c8849e8be911d
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>
include/linux/ceph/osd_client.h
net/ceph/osd_client.c