Hi,
(My first e-mail seems to be lost somewhere, here is a second try)
sbi is not used if quota is not defined. This leads to a useless
variable after preprocessing and a build warning.
This moves the declaration in right place.
------8<------
diff -Naur a/fs/ext3/super.c b/fs/ext3/super.c
--- a/fs/ext3/super.c 2005-09-29 00:28:16.000000000 +0000
+++ b/fs/ext3/super.c 2005-09-29 00:25:02.000000000 +0000
@@ -513,7 +513,6 @@
static int ext3_show_options(struct seq_file *seq, struct vfsmount *vfs)
{
struct super_block *sb = vfs->mnt_sb;
- struct ext3_sb_info *sbi = EXT3_SB(sb);
if (test_opt(sb, DATA_FLAGS) == EXT3_MOUNT_JOURNAL_DATA)
seq_puts(seq, ",data=journal");
@@ -523,6 +522,8 @@
seq_puts(seq, ",data=writeback");
#if defined(CONFIG_QUOTA)
+ struct ext3_sb_info *sbi = EXT3_SB(sb);
+
if (sbi->s_jquota_fmt)
seq_printf(seq, ",jqfmt=%s",
(sbi->s_jquota_fmt == QFMT_VFS_OLD) ? "vfsold": "vfsv0");
------8<------
Signed-off-by: Jerome Pinot <[email protected]>
Regards,
--
Jerome Pinot
http://ngc891.blogdns.net/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|