]> git.hungrycats.org Git - linux/commitdiff
[PATCH] unexport files_lock and put_filp
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Oct 2004 01:04:12 +0000 (18:04 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 19 Oct 2004 01:04:12 +0000 (18:04 -0700)
Rather lowlevel functions that modules shouldn't mess with and fortunately
currently don't.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/file_table.c

index 3750a140ef431bcc3c7f2603477df989aa12d781..e9ce5279ef6d27aa158953cf6aa2f31f0abd58db 100644 (file)
@@ -24,11 +24,9 @@ struct files_stat_struct files_stat = {
 
 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
@@ -199,8 +197,6 @@ void put_filp(struct file *file)
        }
 }
 
-EXPORT_SYMBOL(put_filp);
-
 void file_move(struct file *file, struct list_head *list)
 {
        if (!list)