Re: Problem w/ patches

Bill Hawes (whawes@star.net)
Sun, 05 Oct 1997 18:46:59 -0400


Steven N. Hirsch wrote:
> Final link fails with:
>
> fs/fs.o: In function `do_remount': fs/fs.o(.text+0x6379): undefined
> reference to `shrink_dcache_sb'
>
> fs/filesystems.a(nfs.o): In function `nfs_lookup_revalidate':
> nfs.o(.text+0x28bf): undefined reference to `is_bad_inode'
>
> fs/filesystems.a(smbfs.o): In function `smb_lookup_validate':
> smbfs.o(.text+0x256c): undefined reference to `is_bad_inode'
>
>
> If I apply:
>
> bad_inode57-patch
>
> It never even gets past kernel/ksyms.c; choking on:
>
> EXPORT_SYMBOL(shrink_dcache_sb);
>
> It appears as if the implementation of "shrink_dcache_sb()" is missing.

Hi Steve,
The shrink_dcache_sb() routine was in the dcache patch I posted, but if
you don't want to use it, references can just be replaced with
shrink_dcache(). (It's the same operation, but just limited to one
super block.) You may need to add a prototype for is_bad_inode() to
include/linux/fs.h as well.

Sorry about the inconvenient patches ... my source tree is getting
pretty hacked up.

Regards,
Bill