From adcba208a6365779cba0ab507a8653a28d9ad824 Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Mon, 26 Oct 2015 19:44:58 -0400 Subject: 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 --- src/test/librgw_file_gp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/librgw_file_gp.cc') 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 */); -- cgit v1.2.3