From: Miklos Szeredi Date: Tue, 29 Jan 2008 04:58:27 +0000 (-0500) Subject: ext4: Add stripe= option to /proc/mounts X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=cb45bbe44b09f35bb12d67ffa7ecff862608aeae;p=deliverable%2Flinux.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 b60c34038bb8..00560cfa519d 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