[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jfs-patches
Subject:    [Jfs-patches] [PATCH 3/3] mount options: fix jfs
From:       shaggy () linux ! vnet ! ibm ! com
Date:       2008-01-25 14:55:58
Message-ID: 20080125145558.C774F4C9B73 () norville ! austin ! ibm ! com
[Download RAW message or body]

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>

---
commit 5c5e32ceeb6b64496a1842d5d99e4ac8d20166c4
tree d291d840a5deaba0efd542057572a45a5df0a8c4
parent 967c9ec4ec6178bee42f4231c49a3d7f77627978
author Miklos Szeredi <mszeredi@suse.cz> Thu, 24 Jan 2008 16:13:21 -0600
committer Dave Kleikamp <shaggy@linux.vnet.ibm.com> Thu, 24 Jan 2008 16:13:21 -0600

 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 314bb4f..70a1400 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)
 		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)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jfs-patches mailing list
Jfs-patches@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jfs-patches
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic