From fe786f61f32367e31d11a1b236aff29992d19a57 Mon Sep 17 00:00:00 2001 From: Paul Bolle Date: Tue, 27 May 2014 10:22:27 +0200 Subject: [PATCH] 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 Signed-off-by: Jiri Kosina --- fs/befs/linuxvfs.c | 2 -- 1 file changed, 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. -- 2.20.1