public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix ext3 warning for unused var
@ 2005-10-09 19:58 Paolo 'Blaisorblade' Giarrusso
  2005-10-09 20:16 ` Linus Torvalds
  0 siblings, 1 reply; 16+ messages in thread
From: Paolo 'Blaisorblade' Giarrusso @ 2005-10-09 19:58 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel

From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>

Fix a gcc warning about an unused var. Introduced in commit
275abf5b06676ca057cf3e15f0d027eafcb204a0, after 2.6.14-rc2.
I just verified this is still current as of commit
829841146878e082613a49581ae252c071057c23.
Can please someone merge this? It's the 3rd time I send it.

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");


^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCH] Fix ext3 warning for unused var
@ 2005-10-06 15:35 Paolo 'Blaisorblade' Giarrusso
  0 siblings, 0 replies; 16+ messages in thread
From: Paolo 'Blaisorblade' Giarrusso @ 2005-10-06 15:35 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

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");


^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCH] Fix ext3 warning for unused var
@ 2005-09-29 18:40 Paolo 'Blaisorblade' Giarrusso
  0 siblings, 0 replies; 16+ messages in thread
From: Paolo 'Blaisorblade' Giarrusso @ 2005-09-29 18:40 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

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");


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2005-10-28 18:23 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-09 19:58 [PATCH] Fix ext3 warning for unused var Paolo 'Blaisorblade' Giarrusso
2005-10-09 20:16 ` Linus Torvalds
2005-10-09 19:53   ` jmerkey
2005-10-09 21:29     ` Al Viro
2005-10-09 20:18       ` jmerkey
2005-10-09 22:08         ` Al Viro
2005-10-09 22:13           ` jmerkey
2005-10-09 23:47             ` Al Viro
2005-10-09 23:55             ` Valdis.Kletnieks
2005-10-10  1:43             ` Gene Heskett
2005-10-09 23:58           ` Valdis.Kletnieks
2005-10-09 22:47             ` jmerkey
2005-10-10 11:02               ` Andi Kleen
2005-10-28 18:23   ` Peter Osterlund
  -- strict thread matches above, loose matches on Subject: below --
2005-10-06 15:35 Paolo 'Blaisorblade' Giarrusso
2005-09-29 18:40 Paolo 'Blaisorblade' Giarrusso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox