Skip to content

Commit 5c5e32c

Browse files
Miklos SzerediDave Kleikamp
authored andcommitted
mount options: fix jfs
Add iocharset= and errors= options to /proc/mounts for jfs filesystems. Signed-off-by: Miklos Szeredi <[email protected]> Signed-off-by: Dave Kleikamp <[email protected]>
1 parent 967c9ec commit 5c5e32c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

fs/jfs/super.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,12 @@ static int jfs_show_options(struct seq_file *seq, struct vfsmount *vfs)
598598
seq_printf(seq, ",umask=%03o", sbi->umask);
599599
if (sbi->flag & JFS_NOINTEGRITY)
600600
seq_puts(seq, ",nointegrity");
601+
if (sbi->nls_tab)
602+
seq_printf(seq, ",iocharset=%s", sbi->nls_tab->charset);
603+
if (sbi->flag & JFS_ERR_CONTINUE)
604+
seq_printf(seq, ",errors=continue");
605+
if (sbi->flag & JFS_ERR_PANIC)
606+
seq_printf(seq, ",errors=panic");
601607

602608
#ifdef CONFIG_QUOTA
603609
if (sbi->flag & JFS_USRQUOTA)

0 commit comments

Comments
 (0)