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