Fix ext3 warning for unused var
PATCH 1/1 Fix ext3 warning for unused var
From: Paolo 'Blaisorblade' Giarrusso <[email protected]>
Gcc warns about an unused var, fix this. Introduced in commit 275abf5b06676ca057cf3e15f0d027eafcb204a0, after 2.6.14-rc2.
Signed-off-by Paolo 'Blaisorblade' Giarrusso <[email protected]>
---
fs/ext3/super.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
fs/ext3/super.c +2 -0
@@ -513,7 +513,9 @@ static void ext3_clear_inode(struct inodstatic 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" );