aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorDaniel J Blueman <daniel@quora.org>2012-05-07 08:35:38 -0400
committerChris Mason <chris.mason@fusionio.com>2012-10-09 09:19:57 -0400
commit489406626c42c0176fddae2182d33be2cfb9840c (patch)
tree5dc8add2202cf40e705d669bd5645776c30d156b /fs/btrfs/super.c
parent94edf4ae43a5f9405fe3570f670e26ce1b188476 (diff)
btrfs: fix message printing
Fix various messages to include newline and module prefix. Signed-off-by: Daniel J Blueman <daniel@quora.org>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index f8b803f30ed8..0fadcdba8ce4 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -243,7 +243,7 @@ void __btrfs_abort_transaction(struct btrfs_trans_handle *trans,
243 struct btrfs_root *root, const char *function, 243 struct btrfs_root *root, const char *function,
244 unsigned int line, int errno) 244 unsigned int line, int errno)
245{ 245{
246 WARN_ONCE(1, KERN_DEBUG "btrfs: Transaction aborted"); 246 WARN_ONCE(1, KERN_DEBUG "btrfs: Transaction aborted\n");
247 trans->aborted = errno; 247 trans->aborted = errno;
248 /* Nothing used. The other threads that have joined this 248 /* Nothing used. The other threads that have joined this
249 * transaction may be able to continue. */ 249 * transaction may be able to continue. */
@@ -549,11 +549,11 @@ int btrfs_parse_options(struct btrfs_root *root, char *options)
549 btrfs_set_opt(info->mount_opt, ENOSPC_DEBUG); 549 btrfs_set_opt(info->mount_opt, ENOSPC_DEBUG);
550 break; 550 break;
551 case Opt_defrag: 551 case Opt_defrag:
552 printk(KERN_INFO "btrfs: enabling auto defrag"); 552 printk(KERN_INFO "btrfs: enabling auto defrag\n");
553 btrfs_set_opt(info->mount_opt, AUTO_DEFRAG); 553 btrfs_set_opt(info->mount_opt, AUTO_DEFRAG);
554 break; 554 break;
555 case Opt_recovery: 555 case Opt_recovery:
556 printk(KERN_INFO "btrfs: enabling auto recovery"); 556 printk(KERN_INFO "btrfs: enabling auto recovery\n");
557 btrfs_set_opt(info->mount_opt, RECOVERY); 557 btrfs_set_opt(info->mount_opt, RECOVERY);
558 break; 558 break;
559 case Opt_skip_balance: 559 case Opt_skip_balance:
@@ -1602,7 +1602,7 @@ static int btrfs_interface_init(void)
1602static void btrfs_interface_exit(void) 1602static void btrfs_interface_exit(void)
1603{ 1603{
1604 if (misc_deregister(&btrfs_misc) < 0) 1604 if (misc_deregister(&btrfs_misc) < 0)
1605 printk(KERN_INFO "misc_deregister failed for control device"); 1605 printk(KERN_INFO "btrfs: misc_deregister failed for control device\n");
1606} 1606}
1607 1607
1608static int __init init_btrfs_fs(void) 1608static int __init init_btrfs_fs(void)