Skip to content

Commit

Permalink
befs: remove check for CONFIG_BEFS_RW
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Bolle authored and Jiri Kosina committed Jun 19, 2014
1 parent ae9fbca commit fe786f6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/befs/linuxvfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fe786f6

Please sign in to comment.