[PATCH] fix ext2 parse_options printk

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: root
Date: Monday, December 7, 2009 - 7:01 am

From: Jeremy Cochoy <jeremy.cochoy@gmail.com>

Signed-off-by: Jeremy Cochoy <jeremy.cochoy@gmail.com>
---
 fs/ext2/super.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/fs/ext2/super.c b/fs/ext2/super.c
index 1a9ffee..f28618f 100644
--- a/fs/ext2/super.c
+++ b/fs/ext2/super.c
@@ -505,7 +505,7 @@ static int parse_options (char * options,
 #else
 		case Opt_user_xattr:
 		case Opt_nouser_xattr:
-			printk("EXT2 (no)user_xattr options not supported\n");
+			printk(KERN_NOTICE "EXT2 (no)user_xattr options not supported\n");
 			break;
 #endif
 #ifdef CONFIG_EXT2_FS_POSIX_ACL
@@ -518,14 +518,14 @@ static int parse_options (char * options,
 #else
 		case Opt_acl:
 		case Opt_noacl:
-			printk("EXT2 (no)acl options not supported\n");
+			printk(KERN_NOTICE "EXT2 (no)acl options not supported\n");
 			break;
 #endif
 		case Opt_xip:
 #ifdef CONFIG_EXT2_FS_XIP
 			set_opt (sbi->s_mount_opt, XIP);
 #else
-			printk("EXT2 xip option not supported\n");
+			printk(KERN_NOTICE "EXT2 xip option not supported\n");
 #endif
 			break;
 
@@ -550,11 +550,11 @@ static int parse_options (char * options,
 
 		case Opt_reservation:
 			set_opt(sbi->s_mount_opt, RESERVATION);
-			printk("reservations ON\n");
+			printk(KERN_INFO "reservations ON\n");
 			break;
 		case Opt_noreservation:
 			clear_opt(sbi->s_mount_opt, RESERVATION);
-			printk("reservations OFF\n");
+			printk(KERN_INFO "reservations OFF\n");
 			break;
 		case Opt_ignore:
 			break;
-- 
1.5.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] fix ext2 parse_options printk, root, (Mon Dec 7, 7:01 am)
[PATCH] fix ext2 parse_options printk, root, (Mon Dec 7, 7:01 am)
Re: [PATCH] fix ext2 parse_options printk, Jan Kara, (Tue Dec 8, 3:00 am)