projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faa0e55
)
f2fs: show current mount status
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 18 Mar 2016 16:46:10 +0000
(09:46 -0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 15 Apr 2016 15:49:47 +0000
(08:49 -0700)
This patch remains the current mount status to f2fs status info.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/debug.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/debug.c
b/fs/f2fs/debug.c
index f4a61a5ff79fb3e8cd928b0318798ae775a9af0d..818064bacfda6efcf676a0ba2e6671f33f47c7ee 100644
(file)
--- a/
fs/f2fs/debug.c
+++ b/
fs/f2fs/debug.c
@@
-216,8
+216,9
@@
static int stat_show(struct seq_file *s, void *v)
list_for_each_entry(si, &f2fs_stat_list, stat_list) {
update_general_status(si->sbi);
- seq_printf(s, "\n=====[ partition info(%pg). #%d ]=====\n",
- si->sbi->sb->s_bdev, i++);
+ seq_printf(s, "\n=====[ partition info(%pg). #%d, %s]=====\n",
+ si->sbi->sb->s_bdev, i++,
+ f2fs_readonly(si->sbi->sb) ? "RO": "RW");
seq_printf(s, "[SB: 1] [CP: 2] [SIT: %d] [NAT: %d] ",
si->sit_area_segs, si->nat_area_segs);
seq_printf(s, "[SSA: %d] [MAIN: %d",