According to Linux Man pages:
ECANCELED Operation canceled (POSIX.1)
So ECANCELED is the preferred one.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
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.