Messages in this thread Patch in this message | | | From | root <> | Subject | [PATCH] some 2.3.6 fixes | Date | Fri, 11 Jun 1999 16:36:49 +0200 (EEST) |
| |
Hi,
The following patch for 2.3.6 kernel fixes: - unresolved symbols in sunrpc/nfs/ipv6 modules (minimum for i386) together with RTNETLINK Adam's <mid@auk.cx> compilation fix - compilation warnings in fs/nfsd/vfs.c
******************************************************************************* diff -u linux-2.3.6/arch/i386/kernel/i386_ksyms.c linux/arch/i386/kernel/i386_ksyms.c --- linux-2.3.6/arch/i386/kernel/i386_ksyms.c Fri Jun 11 15:40:22 1999 +++ linux/arch/i386/kernel/i386_ksyms.c Fri Jun 11 15:42:24 1999 @@ -48,6 +48,7 @@ EXPORT_SYMBOL_NOVERS(__up_wakeup); /* Networking helper routines. */ EXPORT_SYMBOL(csum_partial_copy); +EXPORT_SYMBOL(csum_partial_copy_generic); /* Delay loops */ EXPORT_SYMBOL(__udelay); EXPORT_SYMBOL(__delay); diff -u linux-2.3.6/kernel/ksyms.c linux/kernel/ksyms.c --- linux-2.3.6/kernel/ksyms.c Fri Jun 11 15:40:44 1999 +++ linux/kernel/ksyms.c Fri Jun 11 15:41:48 1999 @@ -193,6 +193,10 @@ #if !defined(CONFIG_NFSD) && defined(CONFIG_NFSD_MODULE) EXPORT_SYMBOL(do_nfsservctl); #endif +/* needed by nfs.o module */ +EXPORT_SYMBOL(page_hash_table); +EXPORT_SYMBOL(page_cache_size); +EXPORT_SYMBOL(__wait_on_page); /* device registration */ EXPORT_SYMBOL(register_chrdev); diff -u linux-2.3.6/net/netsyms.c linux/net/netsyms.c --- linux-2.3.6/net/netsyms.c Fri Jun 11 14:50:08 1999 +++ linux/net/netsyms.c Fri Jun 11 16:20:05 1999 @@ -184,7 +184,9 @@ #endif EXPORT_SYMBOL(pneigh_lookup); EXPORT_SYMBOL(pneigh_enqueue); +EXPORT_SYMBOL(neigh_create); EXPORT_SYMBOL(neigh_destroy); +EXPORT_SYMBOL(neigh_lookup); EXPORT_SYMBOL(neigh_parms_alloc); EXPORT_SYMBOL(neigh_parms_release); EXPORT_SYMBOL(neigh_rand_reach_time); @@ -377,7 +379,6 @@ EXPORT_SYMBOL(rtnetlink_links); EXPORT_SYMBOL(__rta_fill); EXPORT_SYMBOL(rtnetlink_dump_ifinfo); -EXPORT_SYMBOL(rtnl_wlockct); EXPORT_SYMBOL(rtnl); EXPORT_SYMBOL(neigh_delete); EXPORT_SYMBOL(neigh_add); diff -u linux-2.3.6/fs/nfsd/vfs.c linux/fs/nfsd/vfs.c --- linux-2.3.6/fs/nfsd/vfs.c Fri Jun 11 15:13:31 1999 +++ linux/fs/nfsd/vfs.c Fri Jun 11 15:13:56 1999 @@ -554,7 +554,7 @@ /* clear setuid/setgid flag after write */ if (err >= 0 && (inode->i_mode & (S_ISUID | S_ISGID))) { struct iattr ia; - kernel_cap_t saved_cap; + kernel_cap_t saved_cap = 0; ia.ia_valid = ATTR_MODE; ia.ia_mode = inode->i_mode & ~(S_ISUID | S_ISGID); @@ -761,7 +761,7 @@ struct inode *inode; struct iattr newattrs; int err; - kernel_cap_t saved_cap; + kernel_cap_t saved_cap = 0; err = fh_verify(rqstp, fhp, S_IFREG, MAY_WRITE | MAY_TRUNC); if (err) @@ -1316,7 +1316,7 @@ { struct inode *inode = dentry->d_inode; int err; - kernel_cap_t saved_cap; + kernel_cap_t saved_cap = 0; if (acc == MAY_NOP) return 0; -- ======================================================================= Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl phone (48)(58) 347 14 61 Faculty of Applied Phys. & Math., Technical University of Gdansk - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |