|
Kmods SIG |
50e2b3 |
From cbd445d9a9bdb7020beee2477577b9472cca60be Mon Sep 17 00:00:00 2001
|
|
Kmods SIG |
50e2b3 |
From: Tetsuhiro Kohada <Kohada.Tetsuhiro@dc.MitsubishiElectric.co.jp>
|
|
Kmods SIG |
50e2b3 |
Date: Tue, 7 Apr 2020 17:34:10 +0900
|
|
Kmods SIG |
50e2b3 |
Subject: [Backport cbd445d9a9bd] exfat: remove 'bps' mount-option
|
|
Kmods SIG |
50e2b3 |
|
|
Kmods SIG |
50e2b3 |
remount fails because exfat_show_options() returns unsupported
|
|
Kmods SIG |
50e2b3 |
option 'bps'.
|
|
Kmods SIG |
50e2b3 |
> # mount -o ro,remount
|
|
Kmods SIG |
50e2b3 |
> exfat: Unknown parameter 'bps'
|
|
Kmods SIG |
50e2b3 |
|
|
Kmods SIG |
50e2b3 |
To fix the problem, just remove 'bps' option from exfat_show_options().
|
|
Kmods SIG |
50e2b3 |
|
|
Kmods SIG |
50e2b3 |
Signed-off-by: Tetsuhiro Kohada <Kohada.Tetsuhiro@dc.MitsubishiElectric.co.jp>
|
|
Kmods SIG |
50e2b3 |
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
|
|
Kmods SIG |
50e2b3 |
---
|
|
Kmods SIG |
50e2b3 |
src/super.c | 1 -
|
|
Kmods SIG |
50e2b3 |
1 file changed, 1 deletion(-)
|
|
Kmods SIG |
50e2b3 |
|
|
Kmods SIG |
50e2b3 |
diff --git a/src/super.c b/src/super.c
|
|
Kmods SIG |
50e2b3 |
index 6b63e5092628143ba5c8f3a5437eb3f5a1b68ea7..cb5eac38102d92d9312667fdaa722f6a00d2ad16 100644
|
|
Kmods SIG |
50e2b3 |
--- a/src/super.c
|
|
Kmods SIG |
50e2b3 |
+++ b/src/super.c
|
|
Kmods SIG |
50e2b3 |
@@ -151,7 +151,6 @@ static int exfat_show_options(struct seq_file *m, struct dentry *root)
|
|
Kmods SIG |
50e2b3 |
seq_puts(m, ",iocharset=utf8");
|
|
Kmods SIG |
50e2b3 |
else if (sbi->nls_io)
|
|
Kmods SIG |
50e2b3 |
seq_printf(m, ",iocharset=%s", sbi->nls_io->charset);
|
|
Kmods SIG |
50e2b3 |
- seq_printf(m, ",bps=%ld", sb->s_blocksize);
|
|
Kmods SIG |
50e2b3 |
if (opts->errors == EXFAT_ERRORS_CONT)
|
|
Kmods SIG |
50e2b3 |
seq_puts(m, ",errors=continue");
|
|
Kmods SIG |
50e2b3 |
else if (opts->errors == EXFAT_ERRORS_PANIC)
|
|
Kmods SIG |
50e2b3 |
--
|
|
Kmods SIG |
50e2b3 |
2.31.1
|
|
Kmods SIG |
50e2b3 |
|