]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_http_errors.h
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / rgw / rgw_http_errors.h
index e2aec310c88b331c2bedbd4d291d076a021501ba..98bb20f8443fd8378a602054bb03c9c052839695 100644 (file)
@@ -12,6 +12,8 @@ extern rgw_http_errors rgw_http_s3_errors;
 
 extern rgw_http_errors rgw_http_swift_errors;
 
+extern rgw_http_errors rgw_http_sts_errors;
+
 static inline int rgw_http_error_to_errno(int http_err)
 {
   if (http_err >= 200 && http_err <= 299)
@@ -29,6 +31,8 @@ static inline int rgw_http_error_to_errno(int http_err)
         return -ENOENT;
     case 409:
         return -ENOTEMPTY;
+    case 503:
+        return -EBUSY;
     default:
         return -EIO;
   }