From: Miklos Szeredi Date: Tue, 29 Jan 2008 04:58:27 +0000 (-0500) Subject: ext4: Add stripe= option to /proc/mounts X-Git-Tag: v2.6.25-rc1~1166^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cb45bbe44b09f35bb12d67ffa7ecff862608aeae;p=linux-2.6-omap-h63xx.git ext4: Add stripe= option to /proc/mounts Add stripe= option to /proc/mounts for ext4 filesystems. Signed-off-by: Miklos Szeredi Signed-off-by: Mingming Cao --- diff --git a/fs/ext4/super.c b/fs/ext4/super.c index b60c34038bb..00560cfa519 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -741,6 +741,8 @@ static int ext4_show_options(struct seq_file *seq, struct vfsmount *vfs) if (test_opt(sb, I_VERSION)) seq_puts(seq, ",i_version"); + if (sbi->s_stripe) + seq_printf(seq, ",stripe=%lu", sbi->s_stripe); /* * journal mode get enabled in different ways * So just print the value even if we didn't specify it