lkml.org 
[lkml]   [2002]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Re: 2.5.7 hfs modules compil error
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;
}
\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.032 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site