Commit 16270bc9 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] named initialisers for dcache

(Also a printk level addition)
parent bae2697b
......@@ -51,7 +51,9 @@ static struct list_head *dentry_hashtable;
static LIST_HEAD(dentry_unused);
/* Statistics gathering. */
struct dentry_stat_t dentry_stat = {0, 0, 45, 0,};
struct dentry_stat_t dentry_stat = {
.age_limit = 45,
};
/* no dcache_lock, please */
static inline void d_free(struct dentry *dentry)
......@@ -1352,7 +1354,7 @@ static void __init dcache_init(unsigned long mempages)
__get_free_pages(GFP_ATOMIC, order);
} while (dentry_hashtable == NULL && --order >= 0);
printk("Dentry-cache hash table entries: %d (order: %ld, %ld bytes)\n",
printk(KERN_INFO "Dentry cache hash table entries: %d (order: %ld, %ld bytes)\n",
nr_hash, order, (PAGE_SIZE << order));
if (!dentry_hashtable)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment