public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] quota: Add log level to printk
@ 2014-11-04  1:05 Anton Blanchard
  2014-11-04  3:06 ` Joe Perches
  0 siblings, 1 reply; 3+ messages in thread
From: Anton Blanchard @ 2014-11-04  1:05 UTC (permalink / raw)
  To: jack; +Cc: linux-kernel

Signed-off-by: Anton Blanchard <anton@samba.org>
---

Index: b/fs/quota/dquot.c
===================================================================
--- a/fs/quota/dquot.c
+++ b/fs/quota/dquot.c
@@ -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);

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] quota: Add log level to printk
  2014-11-04  1:05 [PATCH] quota: Add log level to printk Anton Blanchard
@ 2014-11-04  3:06 ` Joe Perches
  2014-11-04 10:59   ` Jan Kara
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Perches @ 2014-11-04  3:06 UTC (permalink / raw)
  To: Anton Blanchard; +Cc: jack, linux-kernel

On Tue, 2014-11-04 at 12:05 +1100, Anton Blanchard wrote:
> Signed-off-by: Anton Blanchard <anton@samba.org>
> ---
> 
> Index: b/fs/quota/dquot.c
> ===================================================================
> --- a/fs/quota/dquot.c
> +++ b/fs/quota/dquot.c
> @@ -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?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] quota: Add log level to printk
  2014-11-04  3:06 ` Joe Perches
@ 2014-11-04 10:59   ` Jan Kara
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Kara @ 2014-11-04 10:59 UTC (permalink / raw)
  To: Joe Perches; +Cc: Anton Blanchard, jack, linux-kernel

On Mon 03-11-14 19:06:39, Joe Perches wrote:
> On Tue, 2014-11-04 at 12:05 +1100, Anton Blanchard wrote:
> > Signed-off-by: Anton Blanchard <anton@samba.org>
> > ---
> > 
> > Index: b/fs/quota/dquot.c
> > ===================================================================
> > --- a/fs/quota/dquot.c
> > +++ b/fs/quota/dquot.c
> > @@ -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?
  I'll merge Anton's patch and include additional VFS:.

								Honza
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-04 12:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-04  1:05 [PATCH] quota: Add log level to printk Anton Blanchard
2014-11-04  3:06 ` Joe Perches
2014-11-04 10:59   ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox