[PATCH] Drop obsolete config BEFS_RW

From: Christoph Egger
Date: Fri Jan 29 2010 - 08:03:12 EST


CONFIG_BEFS_RW doesn't have any counterpart in KConfig since virtually
ever and there's only one place in the kernel where it is (still?)
checked.

This patch removes the obsolete check (alwazs evaluates to true).

Signed-off-by: Christoph Egger <siccegge@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
---
fs/befs/linuxvfs.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index 33baf27..4c3e342 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -778,13 +778,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.
--
1.6.3.3


--BXVAT5kNtrzKuDFl--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/