2008-06-30 18:55:44

by Manish Katiyar

[permalink] [raw]
Subject: [PATCH] ext4 : Remove unused variable journal from ext4_show_options

=======================================================================

Signed-off-by : Manish Katiyar <[email protected]>

---
fs/ext4/super.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index cb96f12..d9d12c1 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -671,7 +671,6 @@ static int ext4_show_options(struct seq_file *seq,
struct vfsmount *vfs)
unsigned long def_mount_opts;
struct super_block *sb = vfs->mnt_sb;
struct ext4_sb_info *sbi = EXT4_SB(sb);
- journal_t *journal = sbi->s_journal;
struct ext4_super_block *es = sbi->s_es;

def_mount_opts = le32_to_cpu(es->s_default_mount_opts);
--
1.5.4.3

========================================================================

--
Thanks & Regards,
********************************************
Manish Katiyar ( http://mkatiyar.googlepages.com )
3rd Floor, Fair Winds Block
EGL Software Park
Off Intermediate Ring Road
Bangalore 560071, India
***********************************************


2008-07-05 16:16:55

by Theodore Ts'o

[permalink] [raw]
Subject: Re: [PATCH] ext4 : Remove unused variable journal from ext4_show_options

Thanks for submitting the patch! This is already in the ext4 patch
queue to be pushed at the next merge window. (I submitted the exact
same patch to linux-ext4 as a cleanup a month ago.)

- Ted