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