Whamcloud - gitweb
LU-6142 lustre: change various operations structs to const
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_iam_lfix.c
index c6a73cf..14ae6ff 100644 (file)
@@ -512,7 +512,7 @@ static int iam_lfix_leaf_empty(struct iam_leaf *leaf)
        return lentry_count_get(leaf) == 0;
 }
 
-static struct iam_leaf_operations iam_lfix_leaf_ops = {
+static const struct iam_leaf_operations iam_lfix_leaf_ops = {
        .init           = iam_lfix_init,
        .init_new       = iam_lfix_init_new,
        .fini           = iam_lfix_fini,
@@ -659,7 +659,7 @@ static struct iam_path_descr *iam_lfix_ipd_alloc(const struct iam_container *c,
        return iam_ipd_alloc(area, c->ic_descr->id_ikey_size);
 }
 
-static struct iam_operations iam_lfix_ops = {
+static const struct iam_operations iam_lfix_ops = {
        .id_root_ptr    = iam_lfix_root_ptr,
        .id_node_read   = iam_node_read,
        .id_node_init   = iam_lfix_node_init,