|
@@ -231,7 +231,7 @@ static struct ceph_vxattr ceph_dir_vxattrs[] = {
|
|
.name_size = sizeof("ceph.dir.layout"),
|
|
.name_size = sizeof("ceph.dir.layout"),
|
|
.getxattr_cb = ceph_vxattrcb_layout,
|
|
.getxattr_cb = ceph_vxattrcb_layout,
|
|
.readonly = false,
|
|
.readonly = false,
|
|
- .hidden = false,
|
|
|
|
|
|
+ .hidden = true,
|
|
.exists_cb = ceph_vxattrcb_layout_exists,
|
|
.exists_cb = ceph_vxattrcb_layout_exists,
|
|
},
|
|
},
|
|
XATTR_LAYOUT_FIELD(dir, layout, stripe_unit),
|
|
XATTR_LAYOUT_FIELD(dir, layout, stripe_unit),
|
|
@@ -258,7 +258,7 @@ static struct ceph_vxattr ceph_file_vxattrs[] = {
|
|
.name_size = sizeof("ceph.file.layout"),
|
|
.name_size = sizeof("ceph.file.layout"),
|
|
.getxattr_cb = ceph_vxattrcb_layout,
|
|
.getxattr_cb = ceph_vxattrcb_layout,
|
|
.readonly = false,
|
|
.readonly = false,
|
|
- .hidden = false,
|
|
|
|
|
|
+ .hidden = true,
|
|
.exists_cb = ceph_vxattrcb_layout_exists,
|
|
.exists_cb = ceph_vxattrcb_layout_exists,
|
|
},
|
|
},
|
|
XATTR_LAYOUT_FIELD(file, layout, stripe_unit),
|
|
XATTR_LAYOUT_FIELD(file, layout, stripe_unit),
|