From d000d8cb9a53aab34c53bac6e68fa6496a84ffcf Mon Sep 17 00:00:00 2001 From: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com> Date: Sun, 2 Jan 2022 23:16:54 +0800 Subject: [PATCH] ntntfs3-oot: compact with upstream kernel --- .../lean/ntfs3-oot/patches/100-compact-mount.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/lean/ntfs3-oot/patches/100-compact-mount.patch diff --git a/package/lean/ntfs3-oot/patches/100-compact-mount.patch b/package/lean/ntfs3-oot/patches/100-compact-mount.patch new file mode 100644 index 000000000..6eaa4dcff --- /dev/null +++ b/package/lean/ntfs3-oot/patches/100-compact-mount.patch @@ -0,0 +1,14 @@ +--- a/super.c ++++ b/super.c +@@ -581,9 +581,9 @@ static int ntfs_show_options(struct seq_file *m, struct dentry *root) + if (opts->dmask) + seq_printf(m, ",dmask=%04o", ~opts->fs_dmask_inv); + if (opts->nls) +- seq_printf(m, ",nls=%s", opts->nls->charset); ++ seq_printf(m, ",iocharset=%s", opts->nls->charset); + else +- seq_puts(m, ",nls=utf8"); ++ seq_puts(m, ",iocharset=utf8"); + if (opts->sys_immutable) + seq_puts(m, ",sys_immutable"); + if (opts->discard)