aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2008-01-28 23:58:27 -0500
committerTheodore Ts'o <tytso@mit.edu>2008-01-28 23:58:27 -0500
commitcb45bbe44b09f35bb12d67ffa7ecff862608aeae (patch)
tree4b5a7f95772fcab8d1caac6171a06c970189f3e2 /fs/ext4/super.c
parent3dbd0ede4d5320bd4c3cb914fec0595135b6d9a1 (diff)
ext4: Add stripe= option to /proc/mounts
Add stripe= option to /proc/mounts for ext4 filesystems. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c2
1 files changed, 2 insertions, 0 deletions
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)
741 if (test_opt(sb, I_VERSION)) 741 if (test_opt(sb, I_VERSION))
742 seq_puts(seq, ",i_version"); 742 seq_puts(seq, ",i_version");
743 743
744 if (sbi->s_stripe)
745 seq_printf(seq, ",stripe=%lu", sbi->s_stripe);
744 /* 746 /*
745 * journal mode get enabled in different ways 747 * journal mode get enabled in different ways
746 * So just print the value even if we didn't specify it 748 * So just print the value even if we didn't specify it