exfat: fix unhandled utf8 flag while reconfigure
Subsystems (2)
PATCH 1/1 exfat: fix unhandled utf8 flag while reconfigure
Signed-off-by Sang-Heon Jeon <[email protected]>
--- fs/exfat/super.c | 5 +++++ 1 file changed, 5 insertions(+)
fs/exfat/super.c +5 -0
@@ -757,6 +757,11 @@ static int exfat_reconfigure(struct fs_context *fc)if (new_opts->allow_utime == (unsigned short )-1 ) new_opts->allow_utime = ~new_opts->fs_dmask &0022 ; +if (!strcmp (new_opts->iocharset,"utf8" )) + new_opts->utf8 =1 ; +else + new_opts->utf8 =0 ; +/* * Since the old settings of these mount options are cached in * inodes or dentries, they cannot be modified dynamically.
Signature · 1 line
2.43.0
Quoted 3 lines · Sang-Heon Jeon
Signed-off-by Sang-Heon Jeon <[email protected]>---
Sorry, It's my mistake. I just sent my draft patch. Please Ignore this.
Quoted 20 lines
fs/exfat/super.c | 5 +++++ 1 file changed, 5 insertions(+)fs/exfat/super.c +5
-1@@ -757,6 +757,11 @@ static int exfat_reconfigure(struct fs_context *fc)if (new_opts->allow_utime == (unsigned short )-1 ) new_opts->allow_utime = ~new_opts->fs_dmask &0022 ; +if (!strcmp (new_opts->iocharset,"utf8" )) + new_opts->utf8 =1 ; +else + new_opts->utf8 =0 ; +/* * Since the old settings of these mount options are cached in * inodes or dentries, they cannot be modified dynamically. --
Quoted 2 lines
2.43.0
Best Regards,
Sang-Heon Jeon