Thread (49 messages) 49 messages, 6 authors, 2022-09-25
STALE1375d
Revisions (2)
  1. rfc current
  2. v2 [diff vs current]

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

From: Pali Rohár <pali@kernel.org>
Date: 2021-08-08 16:25:59
Also in: linux-cifs, lkml
Subsystem: befs file system, filesystems (vfs and infrastructure), the rest · Maintainers: Luis de Bethencourt, Salah Triki, Alexander Viro, Christian Brauner, Linus Torvalds

Mount option is named iocharset= and not charset=

Signed-off-by: Pali Rohár <pali@kernel.org>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help