diff --git a/src/rgw/rgw_file.h b/src/rgw/rgw_file.h index aef83778ca0..5988decca9f 100644 --- a/src/rgw/rgw_file.h +++ b/src/rgw/rgw_file.h @@ -284,6 +284,7 @@ namespace rgw { bool is_bucket() const { return (fh.fh_type == RGW_FS_TYPE_DIRECTORY); } bool is_object() const { return (fh.fh_type == RGW_FS_TYPE_FILE); } bool creating() const { return flags & FLAG_CREATE; } + bool pseudo() const { return flags & FLAG_PSEUDO; } void open() { flags |= FLAG_OPEN;