lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon,  7 Dec 2009 15:01:01 +0100
From:	root <jeremy.cochoy@...il.com>
To:	linux-kernel@...r.kernel.org
Cc:	linux-ext4@...r.kernel.org, Manish Katiyar <mkatiyar@...il.com>,
	Jan Kara <jack@...e.cz>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Christoph Hellwig <hch@....de>,
	Al Viro <viro@...iv.linux.org.uk>,
	Corentin Chary <corentin.chary@...il.com>,
	Jeremy Cochoy <jeremy.cochoy@...il.com>
Subject: [PATCH] fix ext2 parse_options printk

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

Signed-off-by: Jeremy Cochoy <jeremy.cochoy@...il.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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ