From 11dd96e05bf838e02da7109cd12e16963aac5bf7 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Mon, 18 Oct 2004 18:04:12 -0700 Subject: [PATCH] [PATCH] unexport files_lock and put_filp Rather lowlevel functions that modules shouldn't mess with and fortunately currently don't. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- fs/file_table.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/fs/file_table.c b/fs/file_table.c index 3750a140ef431..e9ce5279ef6d2 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -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) -- 2.53.0