projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dbd0ed
)
ext4: Add stripe= option to /proc/mounts
author
Miklos Szeredi
<mszeredi@suse.cz>
Tue, 29 Jan 2008 04:58:27 +0000
(23:58 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 29 Jan 2008 04:58:27 +0000
(23:58 -0500)
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>
fs/ext4/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/super.c
b/fs/ext4/super.c
index b60c34038bb8afea62a3663f137415e193f724c2..00560cfa519da62d910eae22e81fc0d1149db3db 100644
(file)
--- 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