1 ext4: Add stripe= option to /proc/mounts
2 From: Miklos Szeredi <mszeredi@suse.cz>
4 Add stripe= option to /proc/mounts for ext4 filesystems.
6 Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
7 Signed-off-by: Mingming Cao <cmm@us.ibm.com>
10 1 file changed, 2 insertions(+)
12 Index: linux-2.6.24-rc8/fs/ext4/super.c
13 ===================================================================
14 --- linux-2.6.24-rc8.orig/fs/ext4/super.c 2008-01-25 08:48:59.000000000 -0800
15 +++ linux-2.6.24-rc8/fs/ext4/super.c 2008-01-25 09:06:07.000000000 -0800
16 @@ -741,6 +741,8 @@ static int ext4_show_options(struct seq_
17 if (test_opt(sb, I_VERSION))
18 seq_puts(seq, ",i_version");
21 + seq_printf(seq, ",stripe=%lu", sbi->s_stripe);
23 * journal mode get enabled in different ways
24 * So just print the value even if we didn't specify it