Re: 2.5.70-mm5: XFS compile error if CONFIG_SYSCTL && !CONFIG_PROC_FS

Adrian Bunk (bunk@fs.tum.de)
Sun, 8 Jun 2003 14:52:49 +0200


On Sun, Jun 08, 2003 at 12:01:59PM +0100, Christoph Hellwig wrote:
> On Sat, Jun 07, 2003 at 04:08:44PM +0200, Adrian Bunk wrote:
> > I'm getting the following compile error in 2.5.70-mm5 if CONFIG_SYSCTL
> > && !CONFIG_PROC_FS:
> >
> > <-- snip -->
> >
> > ...
> > CC fs/xfs/linux/xfs_sysctl.o
> > fs/xfs/linux/xfs_sysctl.c: In function `xfs_stats_clear_proc_handler':
> > fs/xfs/linux/xfs_sysctl.c:61: `xfsstats' undeclared (first use in this function)
> > fs/xfs/linux/xfs_sysctl.c:61: (Each undeclared identifier is reported only once
> > fs/xfs/linux/xfs_sysctl.c:61: for each function it appears in.)
> > make[2]: *** [fs/xfs/linux/xfs_sysctl.o] Error 1
>
> This should fix it:
>...

Thanks, I can confirm your patch fixes the problem.

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

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