Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb45bbe4 authored by Miklos Szeredi's avatar Miklos Szeredi Committed by Theodore Ts'o
Browse files

ext4: Add stripe= option to /proc/mounts


Add stripe= option to /proc/mounts for ext4 filesystems.

Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
Signed-off-by: default avatarMingming Cao <cmm@us.ibm.com>
parent 3dbd0ede
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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