projects
/
GitHub
/
LineageOS
/
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:
967c9ec
)
mount options: fix jfs
author
Miklos Szeredi
<mszeredi@suse.cz>
Thu, 24 Jan 2008 22:13:21 +0000
(16:13 -0600)
committer
Dave Kleikamp
<shaggy@linux.vnet.ibm.com>
Thu, 24 Jan 2008 22:13:21 +0000
(16:13 -0600)
Add iocharset= and errors= options to /proc/mounts for jfs
filesystems.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
fs/jfs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/jfs/super.c
b/fs/jfs/super.c
index 314bb4ff1ba8a185715c8979feee658613eb6f13..70a14001c98f4c3b13a523346635195fb51cae96 100644
(file)
--- a/
fs/jfs/super.c
+++ b/
fs/jfs/super.c
@@
-598,6
+598,12
@@
static int jfs_show_options(struct seq_file *seq, struct vfsmount *vfs)
seq_printf(seq, ",umask=%03o", sbi->umask);
if (sbi->flag & JFS_NOINTEGRITY)
seq_puts(seq, ",nointegrity");
+ if (sbi->nls_tab)
+ seq_printf(seq, ",iocharset=%s", sbi->nls_tab->charset);
+ if (sbi->flag & JFS_ERR_CONTINUE)
+ seq_printf(seq, ",errors=continue");
+ if (sbi->flag & JFS_ERR_PANIC)
+ seq_printf(seq, ",errors=panic");
#ifdef CONFIG_QUOTA
if (sbi->flag & JFS_USRQUOTA)