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>
This commit is contained in:
Paul Bolle 2014-05-27 10:22:27 +02:00 коммит произвёл Jiri Kosina
Родитель ae9fbcac19
Коммит fe786f61f3
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -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.