Skip to contentSkip to conversation

cramfs: Fix IS_ENABLED typo

PATCH In review Joe Perches 3 participants 3 messages May 13, 2018 Cramfs filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cramfs: Fix IS_ENABLED typo

There's an extra C here...

Fixes 99c18ce580c6 ("cramfs: direct memory access support")
---
 fs/cramfs/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/cramfs/inode.c +1 -1
index 017b0ab19bc4..124b093d14e5 100644
@@ -492,7 +492,7 @@ static void cramfs_kill_sb(struct super_block *sb)
 {
 	struct cramfs_sb_info *sbi = CRAMFS_SB(sb);
 
-	if (IS_ENABLED(CCONFIG_CRAMFS_MTD) && sb->s_mtd) {
+	if (IS_ENABLED(CONFIG_CRAMFS_MTD) && sb->s_mtd) {
 		if (sbi && sbi->mtd_point_size)
 			mtd_unpoint(sb->s_mtd, 0, sbi->mtd_point_size);
 		kill_mtd_super(sb);
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Joe Perches

There's an extra C here...

Fixes 99c18ce580c6 ("cramfs: direct memory access support")

Indeed.

@Al: could you pick up this one too?

Quoted 19 lines
---
 fs/cramfs/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/cramfs/inode.c +1 -1
index 017b0ab19bc4..124b093d14e5 100644
@@ -492,7 +492,7 @@ static void cramfs_kill_sb(struct super_block *sb)
 {
 	struct cramfs_sb_info *sbi = CRAMFS_SB(sb);
 
-	if (IS_ENABLED(CCONFIG_CRAMFS_MTD) && sb->s_mtd) {
+	if (IS_ENABLED(CONFIG_CRAMFS_MTD) && sb->s_mtd) {
 		if (sbi && sbi->mtd_point_size)
 			mtd_unpoint(sb->s_mtd, 0, sbi->mtd_point_size);
 		kill_mtd_super(sb);