Re: [patch 19/26] mount options: fix jfs
From: Dave Kleikamp
Date: Thu Jan 24 2008 - 16:15:46 EST
On Thu, 2008-01-24 at 20:34 +0100, Miklos Szeredi wrote:
> plain text document attachment (jfs_opts.patch)
> From: Miklos Szeredi <mszeredi@xxxxxxx>
>
> Add iocharset= and errors= options to /proc/mounts for jfs
> filesystems.
>
> Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxx>
Acked-by: Dave Kleikamp <shaggy@xxxxxxxxxxxxxxxxxx>
Andrew,
Would you like me to add this to the jfs git tree, or would you like to
handle these patches as a set?
Thanks,
Shaggy
> ---
>
> Index: linux/fs/jfs/super.c
> ===================================================================
> --- linux.orig/fs/jfs/super.c 2008-01-17 19:00:55.000000000 +0100
> +++ linux/fs/jfs/super.c 2008-01-21 19:39:30.000000000 +0100
> @@ -602,6 +602,12 @@ static int jfs_show_options(struct seq_f
> 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)
>
> --
--
David Kleikamp
IBM Linux Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/