diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2008-01-24 17:13:21 -0500 |
---|---|---|
committer | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2008-01-24 17:13:21 -0500 |
commit | 5c5e32ceeb6b64496a1842d5d99e4ac8d20166c4 (patch) | |
tree | d291d840a5deaba0efd542057572a45a5df0a8c4 /fs/jfs | |
parent | 967c9ec4ec6178bee42f4231c49a3d7f77627978 (diff) |
mount options: fix jfs
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>
Diffstat (limited to 'fs/jfs')
-rw-r--r-- | fs/jfs/super.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/jfs/super.c b/fs/jfs/super.c index 314bb4ff1ba8..70a14001c98f 100644 --- 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) | |||
598 | seq_printf(seq, ",umask=%03o", sbi->umask); | 598 | seq_printf(seq, ",umask=%03o", sbi->umask); |
599 | if (sbi->flag & JFS_NOINTEGRITY) | 599 | if (sbi->flag & JFS_NOINTEGRITY) |
600 | seq_puts(seq, ",nointegrity"); | 600 | 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"); | ||
601 | 607 | ||
602 | #ifdef CONFIG_QUOTA | 608 | #ifdef CONFIG_QUOTA |
603 | if (sbi->flag & JFS_USRQUOTA) | 609 | if (sbi->flag & JFS_USRQUOTA) |