]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librgw: add pseudo() accessor
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 30 Nov 2015 22:00:21 +0000 (17:00 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 12 Feb 2016 17:06:05 +0000 (12:06 -0500)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.h

index aef83778ca01bdddf256fce918e87f665495da1f..5988decca9f688fe0db272ea1baee0c2d1d84e7a 100644 (file)
@@ -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;