From: xie xingguo Date: Tue, 2 Aug 2016 05:56:44 +0000 (+0800) Subject: osd/ReplicatedPG: fix typo(from ECANCELLED to ECANCELED) X-Git-Tag: v11.0.1~526^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=420843a983e423b63f2a0abfcd03042bc540de53;p=ceph-ci.git osd/ReplicatedPG: fix typo(from ECANCELLED to ECANCELED) According to Linux Man pages: ECANCELED Operation canceled (POSIX.1) So ECANCELED is the preferred one. Signed-off-by: xie xingguo --- diff --git a/src/osd/ReplicatedPG.h b/src/osd/ReplicatedPG.h index d1f2a3f141f..6f5424f6610 100644 --- a/src/osd/ReplicatedPG.h +++ b/src/osd/ReplicatedPG.h @@ -176,7 +176,7 @@ public: protected: CopyCallback() {} /** - * results.get<0>() is the return code: 0 for success; -ECANCELLED if + * results.get<0>() is the return code: 0 for success; -ECANCELED if * the operation was cancelled by the local OSD; -errno for other issues. * results.get<1>() is a pointer to a CopyResults object, which you are * responsible for deleting.