2018-05-13 22:06:17

by Joe Perches

[permalink] [raw]
Subject: [PATCH] cramfs: Fix IS_ENABLED typo

There's an extra C here...

Fixes: 99c18ce580c6 ("cramfs: direct memory access support")
Signed-off-by: Joe Perches <[email protected]>
---
fs/cramfs/inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/cramfs/inode.c b/fs/cramfs/inode.c
index 017b0ab19bc4..124b093d14e5 100644
--- a/fs/cramfs/inode.c
+++ b/fs/cramfs/inode.c
@@ -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);



2018-05-13 22:22:00

by Nicolas Pitre

[permalink] [raw]
Subject: Re: [PATCH] cramfs: Fix IS_ENABLED typo

On Sun, 13 May 2018, Joe Perches wrote:

> There's an extra C here...
>
> Fixes: 99c18ce580c6 ("cramfs: direct memory access support")
> Signed-off-by: Joe Perches <[email protected]>

Indeed.

Acked-by: Nicolas Pitre <[email protected]>

@Al: could you pick up this one too?


> ---
> fs/cramfs/inode.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/cramfs/inode.c b/fs/cramfs/inode.c
> index 017b0ab19bc4..124b093d14e5 100644
> --- a/fs/cramfs/inode.c
> +++ b/fs/cramfs/inode.c
> @@ -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);
>
>

2018-05-13 22:26:57

by Al Viro

[permalink] [raw]
Subject: Re: [PATCH] cramfs: Fix IS_ENABLED typo

On Sun, May 13, 2018 at 06:21:18PM -0400, Nicolas Pitre wrote:
> On Sun, 13 May 2018, Joe Perches wrote:
>
> > There's an extra C here...
> >
> > Fixes: 99c18ce580c6 ("cramfs: direct memory access support")
> > Signed-off-by: Joe Perches <[email protected]>
>
> Indeed.
>
> Acked-by: Nicolas Pitre <[email protected]>
>
> @Al: could you pick up this one too?

Put into #fixes...