summaryrefslogtreecommitdiff
path: root/fs/befs
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2014-05-27 12:22:27 +0400
committerJiri Kosina <jkosina@suse.cz>2014-06-19 17:28:14 +0400
commitfe786f61f32367e31d11a1b236aff29992d19a57 (patch)
treeb9d124a1290fbb6f47419935c6e174032a8e24c8 /fs/befs
parentae9fbcac197d7ad1f0c3a4004bac36eb7414f607 (diff)
downloadlinux-fe786f61f32367e31d11a1b236aff29992d19a57.tar.xz
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.