]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_file: add RGW_OPEN_FLAG_STATELESS as a synonym for V3
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 17 Aug 2016 14:52:58 +0000 (10:52 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 5 Oct 2016 18:24:40 +0000 (14:24 -0400)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit da596eb3af69c2cdf191893eb44a8947662634cf)

src/include/rados/rgw_file.h

index b8545be23e9ccc720a9d23f9fef3db4c7d2073da..a1ef37eac8584a4623fe5e05d0403f4ceebc9551 100644 (file)
@@ -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);