diff options
author | Matt Benjamin <mbenjamin@redhat.com> | 2016-01-08 18:40:48 +0100 |
---|---|---|
committer | Matt Benjamin <mbenjamin@redhat.com> | 2016-02-12 18:07:37 +0100 |
commit | b7730c0a6b83df7cd65f8b73d006c666771ff0e3 (patch) | |
tree | c817bed80747dadd8b4a84104b190d3e3a086502 /src/test/librgw_file_gp.cc | |
parent | librgw: stop abusing parents (diff) | |
download | ceph-b7730c0a6b83df7cd65f8b73d006c666771ff0e3.tar.xz ceph-b7730c0a6b83df7cd65f8b73d006c666771ff0e3.zip |
librgw: conditionally send '.' and '..' (rgw_readdir)
Ganesha traditionally does not expect them, but they may be needed
when bypassing the MDCACHE (2.4).
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.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/librgw_file_gp.cc b/src/test/librgw_file_gp.cc index ed988e92f42..eab64a8aa81 100644 --- a/src/test/librgw_file_gp.cc +++ b/src/test/librgw_file_gp.cc @@ -208,7 +208,7 @@ TEST(LibRGW, LIST_OBJECTS) { bool eof = false; uint64_t offset = 0; int ret = rgw_readdir(fs, bucket_fh, &offset, r2_cb, &fids, - &eof); + &eof, RGW_READDIR_FLAG_NONE); for (auto& fid : fids) { std::cout << "fname: " << get<0>(fid) << " fid: " << get<1>(fid) << std::endl; |