From: Jean Delvare <khali@linux-fr.org>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Stephen Tweedie <sct@redhat.com>
Subject: [PATCH] ext3: Fix warning without quota support (was: Linux 2.6.14)
Date: Fri, 28 Oct 2005 18:49:01 +0200 [thread overview]
Message-ID: <20051028184901.59e273db.khali@linux-fr.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0510271717190.4664@g5.osdl.org>
Sorry for not spotting this one earlier...
Fix the following warning when ext3 fs is compiled without quota
support:
fs/ext3/super.c: In function `ext3_show_options':
fs/ext3/super.c:516: warning: unused variable `sbi'
Signed-off-by: Jean Delvare <khali@linux-fr.org>
---
fs/ext3/super.c | 2 ++
1 file changed, 2 insertions(+)
--- linux-2.6.14.orig/fs/ext3/super.c 2005-10-28 18:25:56.000000000 +0200
+++ linux-2.6.14/fs/ext3/super.c 2005-10-28 18:38:36.000000000 +0200
@@ -513,7 +513,9 @@
static int ext3_show_options(struct seq_file *seq, struct vfsmount *vfs)
{
struct super_block *sb = vfs->mnt_sb;
+#ifdef 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");
--
Jean Delvare
next prev parent reply other threads:[~2005-10-28 16:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-28 0:28 Linux 2.6.14 Linus Torvalds
2005-10-28 4:36 ` Nigel Cunningham
2005-10-28 5:00 ` Linus Torvalds
2005-10-28 16:49 ` Jean Delvare [this message]
2005-10-28 22:58 ` [was Re: Linux 2.6.14 ] Revert "x86-64: Avoid unnecessary double bouncing for swiotlb" Ravikiran G Thirumalai
2005-10-29 10:14 ` Andi Kleen
2005-10-31 21:48 ` Ravikiran G Thirumalai
2005-11-03 18:35 ` Andi Kleen
2005-11-03 21:07 ` Muli Ben-Yehuda
2005-10-30 7:36 ` Linux 2.6.14 ehci-hcd hangs machine Borislav Petkov
2005-11-10 21:48 ` Linux 2.6.14: Badness in as-iosched Brice Goglin
2005-11-21 14:54 ` Jens Axboe
2005-11-21 15:36 ` Brice Goglin
2005-11-21 15:39 ` Jens Axboe
-- strict thread matches above, loose matches on Subject: below --
2005-11-12 14:12 [PATCH] ext3: Fix warning without quota support (was: Linux 2.6.14) Nick Warne
2005-11-12 15:31 ` Jean Delvare
2005-11-12 15:58 ` Nick Warne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051028184901.59e273db.khali@linux-fr.org \
--to=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sct@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.