Skip to content

Commit fe786f6

Browse files
pebolleJiri Kosina
authored andcommitted
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>
1 parent ae9fbca commit fe786f6

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎fs/befs/linuxvfs.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,13 +808,11 @@ befs_fill_super(struct super_block *sb, void *data, int silent)
808808

809809
befs_debug(sb, "---> befs_fill_super()");
810810

811-
#ifndef CONFIG_BEFS_RW
812811
if (!(sb->s_flags & MS_RDONLY)) {
813812
befs_warning(sb,
814813
"No write support. Marking filesystem read-only");
815814
sb->s_flags |= MS_RDONLY;
816815
}
817-
#endif /* CONFIG_BEFS_RW */
818816

819817
/*
820818
* Set dummy blocksize to read super block.

0 commit comments

Comments
 (0)