struct ATTR_LIST_ENTRY *le = NULL;
        struct ATTRIB *a;
        const struct INDEX_NAMES *in = &s_index_names[indx->type];
-       struct INDEX_ROOT *root = NULL;
+       struct INDEX_ROOT *root;
 
        a = ni_find_attr(ni, NULL, &le, ATTR_ROOT, in->name, in->name_len, NULL,
                         mi);
        root = resident_data_ex(a, sizeof(struct INDEX_ROOT));
 
        /* length check */
-       if (root && offsetof(struct INDEX_ROOT, ihdr) + le32_to_cpu(root->ihdr.used) >
-                       le32_to_cpu(a->res.data_size)) {
+       if (root &&
+           offsetof(struct INDEX_ROOT, ihdr) + le32_to_cpu(root->ihdr.used) >
+                   le32_to_cpu(a->res.data_size)) {
                return NULL;
        }
 
 
 
        /*
         * Typical $AttrDef contains up to 20 entries.
-        * Check for extremely large size.
+        * Check for extremely large/small size.
         */
        if (inode->i_size < sizeof(struct ATTR_DEF_ENTRY) ||
            inode->i_size > 100 * sizeof(struct ATTR_DEF_ENTRY)) {