summaryrefslogtreecommitdiffstats
path: root/src/test/librgw_file_gp.cc
diff options
context:
space:
mode:
authorMatt Benjamin <mbenjamin@redhat.com>2016-08-12 16:39:21 +0200
committerMatt Benjamin <mbenjamin@redhat.com>2016-08-12 16:39:21 +0200
commitada29f7f8323be2301588941bcd5c60190b32a4b (patch)
tree28e2ce0184058226336270ce4b848dc1c5c6fbad /src/test/librgw_file_gp.cc
parentrgw file: remove busy-wait in RGWLibFS::gc() (diff)
downloadceph-ada29f7f8323be2301588941bcd5c60190b32a4b.tar.xz
ceph-ada29f7f8323be2301588941bcd5c60190b32a4b.zip
rgw_file: fix/update rgw_open flag arguments
Allow passing POSIX open flags as well as api call flags. Needed for NFS3 support. Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Diffstat (limited to 'src/test/librgw_file_gp.cc')
-rw-r--r--src/test/librgw_file_gp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/librgw_file_gp.cc b/src/test/librgw_file_gp.cc
index ec70b5da65c..eba0e386ca3 100644
--- a/src/test/librgw_file_gp.cc
+++ b/src/test/librgw_file_gp.cc
@@ -227,7 +227,7 @@ TEST(LibRGW, LOOKUP_OBJECT) {
TEST(LibRGW, OBJ_OPEN) {
if (do_get || do_put || do_readv || do_writev) {
- int ret = rgw_open(fs, object_fh, 0 /* flags */);
+ int ret = rgw_open(fs, object_fh, 0 /* posix flags */, 0 /* flags */);
ASSERT_EQ(ret, 0);
object_open = true;
}