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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to