ntntfs3-oot: compact with upstream kernel

This commit is contained in:
AmadeusGhost 2022-01-02 23:16:54 +08:00
parent d9316c5814
commit d000d8cb9a

View File

@ -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)