Skip to content

Commit

Permalink
ext4: Add stripe= option to /proc/mounts
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Miklos Szeredi authored and Theodore Ts'o committed Jan 29, 2008
1 parent 3dbd0ed commit cb45bbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/ext4/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb45bbe

Please sign in to comment.