OSDN Git Service

libceph: fix safe completion
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 31 May 2013 07:54:44 +0000 (15:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 20:24:25 +0000 (12:24 -0800)
commitaede2cb5c95588e703e358239a4f3842e21f103e
tree27a9eb82f8239a9e31ce7184f22bfdf8f1d4903b
parent7aa73ee13251af1534de166ea5379f32a6bf7793
libceph: fix safe completion

commit eb845ff13a44477f8a411baedbf11d678b9daf0a upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/ceph/osd_client.h
net/ceph/osd_client.c