lists.openwall.net   lists  /  announce  john-users  owl-users  popa3d-users  /  xvendor  oss-security  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4 
Open Source and information security mailing list archives
 
Order Openwall GNU/*/Linux 2.0 on a CD with delivery worldwide
[<prev] [next>] [month] [year] [list]
Date:	Fri, 4 Jul 2008 19:57:42 -0500
From:	"Stoyan Gaydarov" <stoyboyker@...il.com>
To:	sct@...hat.com, akpm@...ux-foundation.org, adilger@...sterfs.com
Subject: Ext4 Compile warning 2.6.26-rc8

I found a warning while compiling the 2.6.26-rc8 I though I would
point it out and see if I could help.

fs/ext4/super.c: In function 'ext4_show_options':
fs/ext4/super.c:674: warning: unused variable 'journal'

This is a patch to get rid of the variable causing the warning. I
compiled the kernel again after applying this patch and it got rid of
the warning. If you intend to use this variable in later versions and
it was just left there as a setup then ignore this.


diff -uprN linux-2.6.26-rc8/fs/ext4/super.c devel/fs/ext4/super.c
--- linux-2.6.26-rc8/fs/ext4/super.c    2008-06-24 20:58:20.000000000 -0500
+++ devel/fs/ext4/super.c       2008-07-04 19:37:42.000000000 -0500
@@ -671,7 +671,6 @@ static int ext4_show_options(struct seq_
        unsigned long def_mount_opts;
        struct super_block *sb = vfs->mnt_sb;
        struct ext4_sb_info *sbi = EXT4_SB(sb);
-       journal_t *journal = sbi->s_journal;
        struct ext4_super_block *es = sbi->s_es;

        def_mount_opts = le32_to_cpu(es->s_default_mount_opts);

Signed-off-by: Stoyan Gaydarov <stoyboyker@...il.com>
--
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

Hosted by DataForce ISP - Powered by Openwall GNU/*/Linux