linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add missing printing newlines
@ 2012-05-07  5:38 Daniel J Blueman
  2012-05-07  7:23 ` David Sterba
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel J Blueman @ 2012-05-07  5:38 UTC (permalink / raw)
  To: Chris Mason; +Cc: Josef Bacik, linux-btrfs, Daniel J Blueman

Fix BTRFS messages to print a newline where there should be one.

Signed-off-by: Daniel J Blueman <daniel@quora.org>
---
 fs/btrfs/super.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index c5f8fca..c99cb72 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -216,7 +216,7 @@ void __btrfs_abort_transaction(struct btrfs_trans_handle *trans,
 			       struct btrfs_root *root, const char *function,
 			       unsigned int line, int errno)
 {
-	WARN_ONCE(1, KERN_DEBUG "btrfs: Transaction aborted");
+	WARN_ONCE(1, KERN_DEBUG "btrfs: Transaction aborted\n");
 	trans->aborted = errno;
 	/* Nothing used. The other threads that have joined this
 	 * transaction may be able to continue. */
@@ -511,11 +511,11 @@ int btrfs_parse_options(struct btrfs_root *root, char *options)
 			btrfs_set_opt(info->mount_opt, ENOSPC_DEBUG);
 			break;
 		case Opt_defrag:
-			printk(KERN_INFO "btrfs: enabling auto defrag");
+			printk(KERN_INFO "btrfs: enabling auto defrag\n");
 			btrfs_set_opt(info->mount_opt, AUTO_DEFRAG);
 			break;
 		case Opt_recovery:
-			printk(KERN_INFO "btrfs: enabling auto recovery");
+			printk(KERN_INFO "btrfs: enabling auto recovery\n");
 			btrfs_set_opt(info->mount_opt, RECOVERY);
 			break;
 		case Opt_skip_balance:
@@ -1501,7 +1501,7 @@ static int btrfs_interface_init(void)
 static void btrfs_interface_exit(void)
 {
 	if (misc_deregister(&btrfs_misc) < 0)
-		printk(KERN_INFO "misc_deregister failed for control device");
+		printk(KERN_INFO "misc_deregister failed for control device\n");
 }
 
 static int __init init_btrfs_fs(void)
-- 
1.7.9.5


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

* Re: [PATCH] Add missing printing newlines
  2012-05-07  5:38 [PATCH] Add missing printing newlines Daniel J Blueman
@ 2012-05-07  7:23 ` David Sterba
  0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2012-05-07  7:23 UTC (permalink / raw)
  To: Daniel J Blueman; +Cc: Chris Mason, Josef Bacik, linux-btrfs

On Mon, May 07, 2012 at 01:38:51PM +0800, Daniel J Blueman wrote:
> Fix BTRFS messages to print a newline where there should be one.

Please prefix the patch subject line with 'btrfs: '

> --- a/fs/btrfs/super.c
> +++ b/fs/btrfs/super.c
> @@ -1501,7 +1501,7 @@ static int btrfs_interface_init(void)
>  static void btrfs_interface_exit(void)
>  {
>  	if (misc_deregister(&btrfs_misc) < 0)
> -		printk(KERN_INFO "misc_deregister failed for control device");
> +		printk(KERN_INFO "misc_deregister failed for control device\n");

		printk(KERN_INFO "btrfs: misc_deregister failed for control device\n");

and here as well, otherwise ok, thanks.

david

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

end of thread, other threads:[~2012-05-07  7:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-07  5:38 [PATCH] Add missing printing newlines Daniel J Blueman
2012-05-07  7:23 ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).