[PATCH] unexport files_lock and put_filp

From: Christoph Hellwig
Date: Tue Sep 07 2004 - 10:17:51 EST


rather lowlevel functions that modules shouldn't mess with and
foruntatly currently don't.


--- 1.36/fs/file_table.c 2004-08-27 08:31:38 +02:00
+++ edited/fs/file_table.c 2004-09-07 14:04:36 +02:00
@@ -24,11 +24,9 @@

EXPORT_SYMBOL(files_stat); /* Needed by unix.o */

-/* public *and* exported. Not pretty! */
+/* public. Not pretty! */
spinlock_t __cacheline_aligned_in_smp files_lock = SPIN_LOCK_UNLOCKED;

-EXPORT_SYMBOL(files_lock);
-
static spinlock_t filp_count_lock = SPIN_LOCK_UNLOCKED;

/* slab constructors and destructors are called from arbitrary
@@ -198,8 +196,6 @@
file_free(file);
}
}
-
-EXPORT_SYMBOL(put_filp);

void file_move(struct file *file, struct list_head *list)
{
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/