Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
static void free_filldir_node(struct filldir_node *node)
{
- if (node->namelen >= DNAME_INLINE_LEN_MIN)
+ if (node->namelen >= DNAME_INLINE_LEN)
kfree(node->name);
kmem_cache_free(unionfs_filldir_cachep, node);
}
new->bindex = bindex;
new->whiteout = whiteout;
- if (namelen < DNAME_INLINE_LEN_MIN) {
+ if (namelen < DNAME_INLINE_LEN) {
new->name = new->iname;
} else {
new->name = kmalloc(namelen + 1, GFP_KERNEL);
int whiteout;
/* Inline name, so we don't need to separately kmalloc small ones */
- char iname[DNAME_INLINE_LEN_MIN];
+ char iname[DNAME_INLINE_LEN];
};
/* Directory hash table. */