]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
libradosstriper: make default layout const and static 39151/head
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 2 Jan 2021 23:54:23 +0000 (15:54 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 28 Jan 2021 22:33:10 +0000 (14:33 -0800)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/libradosstriper/RadosStriperImpl.cc

index 60fafd463960f9df9367990d322392943eece7bb..01e893dea0676732084f3a1f5ba7f22d5715cd27 100644 (file)
 #define RADOS_OBJECT_EXTENSION_FORMAT ".%016llx"
 
 /// default object layout
-struct ceph_file_layout default_file_layout = {
+static const struct ceph_file_layout default_file_layout = {
   init_le32(1<<22),    // fl_stripe_unit
   init_le32(1),                // fl_stripe_count
   init_le32(1<<22),    // fl_object_size