lkml.org 
[lkml]   [2000]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] missing EXPORT_SYMBOLs break NFS in 2.4.0-test9-pre6
2.4.0-test9-pre6 breaks building NFS as a module. pre6 changed lockd
to use two new functions locks_init_lock() and locks_copy_lock().
However, these functions aren't exported, resulting in:

/lib/modules/2.4.0-test9-pre6/kernel/fs/lockd/lockd.o: unresolved symbol locks_init_lock
/lib/modules/2.4.0-test9-pre6/kernel/fs/lockd/lockd.o: unresolved symbol locks_copy_lock
/lib/modules/2.4.0-test9-pre6/kernel/fs/lockd/lockd.o: insmod /lib/modules/2.4.0-test9-pre6/kernel/fs/lockd/lockd.o failed
/lib/modules/2.4.0-test9-pre6/kernel/fs/lockd/lockd.o: insmod lockd failed

The obvious fix is to export these symbols. Please apply the patch below.

/Mikael

--- linux-2.4.0-test9-pre6/kernel/ksyms.c.~1~ Sun Sep 24 19:16:07 2000
+++ linux-2.4.0-test9-pre6/kernel/ksyms.c Sun Sep 24 19:51:56 2000
@@ -215,6 +215,8 @@
EXPORT_SYMBOL(page_hash_table);
EXPORT_SYMBOL(file_lock_list);
EXPORT_SYMBOL(file_lock_sem);
+EXPORT_SYMBOL(locks_init_lock);
+EXPORT_SYMBOL(locks_copy_lock);
EXPORT_SYMBOL(posix_lock_file);
EXPORT_SYMBOL(posix_test_lock);
EXPORT_SYMBOL(posix_block_lock);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.031 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site