diff options
author | Matt Benjamin <mbenjamin@redhat.com> | 2015-10-27 00:44:58 +0100 |
---|---|---|
committer | Matt Benjamin <mbenjamin@redhat.com> | 2016-02-12 18:05:10 +0100 |
commit | adcba208a6365779cba0ab507a8653a28d9ad824 (patch) | |
tree | 773e78ecee142fea6137c1d4fdbb37c0a5092513 /src/test/librgw_file_gp.cc | |
parent | librgw: bucket names can be const (diff) | |
download | ceph-adcba208a6365779cba0ab507a8653a28d9ad824.tar.xz ceph-adcba208a6365779cba0ab507a8653a28d9ad824.zip |
librgw: fs->root_fh is a pointer (and assign it)
Assign and expose the expanded root_fh indirectly from the mounted
root filesystem structure.
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 068c10bbc93..2b73f4beef5 100644 --- a/src/test/librgw_file_gp.cc +++ b/src/test/librgw_file_gp.cc @@ -137,7 +137,7 @@ TEST(LibRGW, MOUNT) { } TEST(LibRGW, OBJ_OPEN) { - int ret = rgw_lookup(fs, &fs->root_fh, bucket_name.c_str(), &fh, + int ret = rgw_lookup(fs, fs->root_fh, bucket_name.c_str(), &fh, 0 /* flags */); ASSERT_EQ(ret, 0); ret = rgw_open(fs, fh, 0 /* flags */); |