Whamcloud - gitweb
LU-15167 quota: fallocate send UID/GID for quota
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_iam_lvar.c
index 2636934..66aff9e 100644 (file)
@@ -27,7 +27,6 @@
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
- * Lustre is a trademark of Sun Microsystems, Inc.
  *
  * iam_lvar.c
  *
@@ -343,7 +342,8 @@ static int n_invariant(const struct iam_leaf *leaf)
                         * locked.
                         */
                        n_print(leaf);
-                       CERROR("%#x < %#x\n", nexthash, starthash);
+                       CERROR("invalid hash value less than start hash: %#x < %#x\n",
+                               nexthash, starthash);
                        dump_stack();
                        return 0;
                }
@@ -770,7 +770,7 @@ static int lvar_leaf_empty(struct iam_leaf *leaf)
        return h_used(n_head(leaf)) == sizeof(struct lvar_leaf_header);
 }
 
-static struct iam_leaf_operations lvar_leaf_ops = {
+static const struct iam_leaf_operations lvar_leaf_ops = {
        .init           = lvar_init,
        .init_new       = lvar_init_new,
        .fini           = lvar_fini,
@@ -1044,7 +1044,7 @@ out:
        return result;
 }
 
-static struct iam_operations lvar_ops = {
+static const struct iam_operations lvar_ops = {
        .id_root_ptr    = lvar_root_ptr,
        .id_node_read   = iam_node_read,
        .id_node_init   = lvar_node_init,