From: Matt Benjamin Date: Wed, 17 Aug 2016 14:52:58 +0000 (-0400) Subject: rgw_file: add RGW_OPEN_FLAG_STATELESS as a synonym for V3 X-Git-Tag: v10.2.4~98^2~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=95310c7f960eead2e22bc02c0e9d94ec863cafd6;p=ceph.git rgw_file: add RGW_OPEN_FLAG_STATELESS as a synonym for V3 Signed-off-by: Matt Benjamin (cherry picked from commit da596eb3af69c2cdf191893eb44a8947662634cf) --- diff --git a/src/include/rados/rgw_file.h b/src/include/rados/rgw_file.h index b8545be23e9..a1ef37eac85 100644 --- a/src/include/rados/rgw_file.h +++ b/src/include/rados/rgw_file.h @@ -222,6 +222,7 @@ int rgw_truncate(struct rgw_fs *rgw_fs, #define RGW_OPEN_FLAG_NONE 0x0000 #define RGW_OPEN_FLAG_CREATE 0x0001 #define RGW_OPEN_FLAG_V3 0x0002 /* ops have v3 semantics */ +#define RGW_OPEN_FLAG_STATELESS 0x0002 /* alias it */ int rgw_open(struct rgw_fs *rgw_fs, struct rgw_file_handle *parent_fh, uint32_t posix_flags, uint32_t flags);