[PATCH] Re: 2.5.7 hfs modules compil error

Brian Gerst (bgerst@didntduck.org)
Mon, 18 Mar 2002 18:25:12 -0500


This is a multi-part message in MIME format.
--------------050401040509010909060806
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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

--------------050401040509010909060806 Content-Type: text/plain; name="sb-hfs-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sb-hfs-2"

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; }

--------------050401040509010909060806--

- 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/