Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe786f61 authored by Paul Bolle's avatar Paul Bolle Committed by Jiri Kosina
Browse files

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: default avatarPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent ae9fbcac
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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.