[PATCH] Re: 2.5.7 hfs modules compil error

From: Brian Gerst (bgerst@didntduck.org)
Date: Mon Mar 18 2002 - 18:25:12 EST


Gregoire Favre wrote:
> Hello,
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.5/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE
> -DKBUILD_BASENAME=super -c -o super.o super.c
> super.c: In function `hfs_fill_super':
> super.c:536: `sb' undeclared (first use in this function)

Typo fixed.

-- 

Brian Gerst

diff -urN linux-2.5.7/fs/hfs/super.c linux/fs/hfs/super.c --- linux-2.5.7/fs/hfs/super.c Mon Mar 18 16:14:15 2002 +++ linux/fs/hfs/super.c Mon Mar 18 17:06:11 2002 @@ -533,7 +533,7 @@ set_blocksize(dev, BLOCK_SIZE); bail3: kfree(sbi); - sb->u.generic_sbp = NULL; + s->u.generic_sbp = NULL; return -EINVAL; }

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



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:17 EST