quota: Add log level to printk
PATCH 1/1 quota: Add log level to printk
Signed-off-by Anton Blanchard <[email protected]>
---
fs/quota/dquot.c +1 -1
@@ -2743,7 +2743,7 @@ static int __init dquot_init(void)for (i =0 ; i < nr_hash; i++)INIT_HLIST_HEAD (dquot_hash + i); -printk ("Dquot-cache hash table entries: %ld (order %ld, %ld bytes)\n" , +pr_info ("Dquot-cache hash table entries: %ld (order %ld, %ld bytes)\n" , nr_hash, order, (PAGE_SIZE << order));register_shrinker (&dqcache_shrinker);
Quoted 8 lines · Anton Blanchard
Signed-off-by Anton Blanchard <[email protected]>---
Index:
b/fs/quota/dquot.c
===================================================================
fs/quota/dquot.c static int __init dquot_init(void) · line 2747
Quoted 6 lines
fs/quota/dquot.c +1
-1@@ -2743,7 +2743,7 @@ static int __init dquot_init(void)for (i =0 ; i < nr_hash; i++)INIT_HLIST_HEAD (dquot_hash + i); -printk ("Dquot-cache hash table entries: %ld (order %ld, %ld bytes)\n" , +pr_info ("Dquot-cache hash table entries: %ld (order %ld, %ld bytes)\n" , nr_hash, order, (PAGE_SIZE << order));
The other printks in the file have a "VFS: " prefix. Maybe this one too?
Quoted 12 lines · Joe Perches
Quoted 11 lines · Anton Blanchard
Signed-off-by Anton Blanchard <[email protected]>---
Index:
b/fs/quota/dquot.c
===================================================================fs/quota/dquot.c +0
-0@@ -2743,7 +2743,7 @@ static int __init dquot_init(void)for (i =0 ; i < nr_hash; i++)INIT_HLIST_HEAD (dquot_hash + i);
Quoted 6 lines
fs/quota/dquot.c static int __init dquot_init(void) · line 2747
Quoted 3 lines
fs/quota/dquot.c +1
-1-printk ("Dquot-cache hash table entries: %ld (order %ld, %ld bytes)\n" , +pr_info ("Dquot-cache hash table entries: %ld (order %ld, %ld bytes)\n" , nr_hash, order, (PAGE_SIZE << order));The other printks in the file have a "VFS: " prefix. Maybe this one too?
I'll merge Anton's patch and include additional VFS:.
Honza
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR