[RFC PATCH 07/20] befs: Fix printing iocharset= mount option

From: Pali Rohár
Date: Sun Aug 08 2021 - 12:26:13 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 c1ba13d19024..ed4d3afb8638 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -778,7 +778,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