summaryrefslogtreecommitdiffstats
path: root/fs/befs
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2014-05-27 10:22:27 +0200
committerJiri Kosina <jkosina@suse.cz>2014-06-19 15:28:14 +0200
commitfe786f61f32367e31d11a1b236aff29992d19a57 (patch)
treeb9d124a1290fbb6f47419935c6e174032a8e24c8 /fs/befs
parentae9fbcac197d7ad1f0c3a4004bac36eb7414f607 (diff)
downloadtalos-op-linux-fe786f61f32367e31d11a1b236aff29992d19a57.tar.gz
talos-op-linux-fe786f61f32367e31d11a1b236aff29992d19a57.zip
befs: remove check for CONFIG_BEFS_RW
Befs contains a check for CONFIG_BEFS_RW for over a decade now. The related Kconfig symbol never existed, so this check always evaluated to true. Remove it. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/befs')
-rw-r--r--fs/befs/linuxvfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index 845d2d690ce2..2d2bcf51b4f1 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -808,13 +808,11 @@ befs_fill_super(struct super_block *sb, void *data, int silent)
befs_debug(sb, "---> befs_fill_super()");
-#ifndef CONFIG_BEFS_RW
if (!(sb->s_flags & MS_RDONLY)) {
befs_warning(sb,
"No write support. Marking filesystem read-only");
sb->s_flags |= MS_RDONLY;
}
-#endif /* CONFIG_BEFS_RW */
/*
* Set dummy blocksize to read super block.
OpenPOWER on IntegriCloud