summaryrefslogtreecommitdiff
path: root/fs/exfat
diff options
context:
space:
mode:
authorTetsuhiro Kohada <Kohada.Tetsuhiro@dc.MitsubishiElectric.co.jp>2020-04-07 17:34:10 +0900
committerNamjae Jeon <namjae.jeon@samsung.com>2020-04-22 20:14:05 +0900
commitcbd445d9a9bdb7020beee2477577b9472cca60be (patch)
treedc6d19cca6a135b08e21df23b3cd7ff9a0d3ee4b /fs/exfat
parentb0516833d8096c40ead3169c90d87392fb5f8f45 (diff)
downloadlwn-cbd445d9a9bdb7020beee2477577b9472cca60be.tar.gz
lwn-cbd445d9a9bdb7020beee2477577b9472cca60be.zip
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>
Diffstat (limited to 'fs/exfat')
-rw-r--r--fs/exfat/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/exfat/super.c b/fs/exfat/super.c
index 6b63e5092628..cb5eac38102d 100644
--- a/fs/exfat/super.c
+++ b/fs/exfat/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)