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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091123103658.GA15679@duck.suse.cz>
Date:	Mon, 23 Nov 2009 11:36:58 +0100
From:	Jan Kara <jack@...e.cz>
To:	Alexey Fisher <bug-track@...her-privat.net>
Cc:	Jan Kara <jack@...e.cz>, Eric Sandeen <sandeen@...hat.com>,
	Andreas Dilger <adilger@....com>, linux-ext4@...r.kernel.org,
	Theodore Tso <tytso@....edu>
Subject: Re: [PATCH v2] Unify log messages in ext3

  Thanks for the patch. I've merged it into my tree just with the following
typo fixes.

								Honza

> diff --git a/fs/ext3/super.c b/fs/ext3/super.c
> index 427496c..b1b6da8 100644
> --- a/fs/ext3/super.c
> +++ b/fs/ext3/super.c
> @@ -1200,9 +1214,9 @@ set_qf_format:
>  			clear_opt(sbi->s_mount_opt, NOBH);
>  			break;
>  		default:
> -			printk (KERN_ERR
> -				"EXT3-fs: Unrecognized mount option \"%s\" "
> -				"or missing value\n", p);
> +			ext3_msg(sb, KERN_ERR,
> +				"error: unrecognized mount option \"%s\" "
> +				"or missing valuen", p);
                                                ^^^ value
> @@ -1290,22 +1306,20 @@ static int ext3_setup_super(struct super_block *sb, struct ext3_super_block *es,
>  
>  	ext3_commit_super(sb, es, 1);
>  	if (test_opt(sb, DEBUG))
> -		printk(KERN_INFO "[EXT3 FS bs=%lu, gc=%lu, "
> -				"bpg=%lu, ipg=%lu, mo=%04lx]\n",
> +		ext3_msg(sb, KERN_INFO, "[bs=%lu, gc=%lu, "
> +				"bpg=%lu, ipg=%lu, mo=%04lx]",
>  			sb->s_blocksize,
>  			sbi->s_groups_count,
>  			EXT3_BLOCKS_PER_GROUP(sb),
>  			EXT3_INODES_PER_GROUP(sb),
>  			sbi->s_mount_opt);
>  
> -	printk(KERN_INFO "EXT3 FS on %s, ", sb->s_id);
>  	if (EXT3_SB(sb)->s_journal->j_inode == NULL) {
>  		char b[BDEVNAME_SIZE];
> -
> -		printk("external journal on %s\n",
> +		ext3_msg(sb, KERN_INFO, "using externa journal on %s",
                                                   ^^^ external

>  			bdevname(EXT3_SB(sb)->s_journal->j_dev, b));
>  	} else {
> -		printk("internal journal\n");
> +		ext3_msg(sb, KERN_INFO, "using internal journaln");
                                                        ^^^^^ journal

> @@ -1944,8 +1961,9 @@ static int ext3_fill_super (struct super_block *sb, void *data, int silent)
>  
>  	if (test_opt(sb, NOBH)) {
>  		if (!(test_opt(sb, DATA_FLAGS) == EXT3_MOUNT_WRITEBACK_DATA)) {
> -			printk(KERN_WARNING "EXT3-fs: Ignoring nobh option - "
> -				"its supported only with writeback mode\n");
> +			ext3_msg(sb, KERN_WARNING,
> +				"warning: ignoring nobh option - "
> +				"its supported only with writeback mode");
                                 ^^^ it is

										Honza
-- 
Jan Kara <jack@...e.cz>
SUSE Labs, CR
--
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