[RFC PATCH v2 05/18] befs: Fix printing iocharset= mount option
From: Pali Rohár
Date: Mon Dec 26 2022 - 09:23:18 EST
Mount option is named iocharset= and not charset=
Signed-off-by: Pali Rohár <pali@xxxxxxxxxx>
---
fs/befs/linuxvfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index 32749fcee090..f983852ba863 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -777,7 +777,7 @@ static int befs_show_options(struct seq_file *m, struct dentry *root)
seq_printf(m, ",gid=%u",
from_kgid_munged(&init_user_ns, opts->gid));
if (opts->iocharset)
- seq_printf(m, ",charset=%s", opts->iocharset);
+ seq_printf(m, ",iocharset=%s", opts->iocharset);
if (opts->debug)
seq_puts(m, ",debug");
return 0;
--
2.20.1