[PATCH] Fix ext3 warning for unused var
From: Paolo 'Blaisorblade' Giarrusso (blaisorblade_at_yahoo.it)
Date: 09/29/05
- Previous message: Bill Davidsen: "Re: [PATCH 0/7] CART - an advanced page replacement policy"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Sep 2005 20:40:22 +0200 To: Linus Torvalds <torvalds@osdl.org>
From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Gcc warns about an unused var, fix this. Introduced in commit
275abf5b06676ca057cf3e15f0d027eafcb204a0, after 2.6.14-rc2.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
---
fs/ext3/super.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -513,7 +513,9 @@ static void ext3_clear_inode(struct inod
static int ext3_show_options(struct seq_file *seq, struct vfsmount *vfs)
{
struct super_block *sb = vfs->mnt_sb;
+#if defined(CONFIG_QUOTA)
struct ext3_sb_info *sbi = EXT3_SB(sb);
+#endif
if (test_opt(sb, DATA_FLAGS) == EXT3_MOUNT_JOURNAL_DATA)
seq_puts(seq, ",data=journal");
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Bill Davidsen: "Re: [PATCH 0/7] CART - an advanced page replacement policy"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- [PATCH] Fix ext3 warning for unused var
... Introduced in commit ... static int ext3_show_options(struct seq_file
*seq, ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - kgdb: fix kgdbeth compilation and make it init late enough
... Okay to commit? ... static int init_kgdboe ... When do you have
a heart between your knees? ... send the line "unsubscribe linux-kernel" in ...
(Linux-Kernel) - Re: dev->release = (void (*)(struct device *))kfree;
... will still be unregistered (removed from the various lists) but the ... releasecallback
won't be called until the last user. ... send the line "unsubscribe linux-kernel" in ...
(Linux-Kernel) - Re: [RFC] rwsem removal from kobj_map
... static int __init genhd_device_init ... static void cdev_default_release
... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - [PATCH] w1: Added DS2433 driver.
... * it under the smems of the GNU General Public License as published by ... *
the Free Software Foundation; ... +static int __init w1_f23_init ... send
the line "unsubscribe linux-kernel" in ... (Linux-Kernel)