Commit 11dd96e0 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] unexport files_lock and put_filp

Rather lowlevel functions that modules shouldn't mess with and fortunately
currently don't.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a58eab60
...@@ -24,11 +24,9 @@ struct files_stat_struct files_stat = { ...@@ -24,11 +24,9 @@ struct files_stat_struct files_stat = {
EXPORT_SYMBOL(files_stat); /* Needed by unix.o */ 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; spinlock_t __cacheline_aligned_in_smp files_lock = SPIN_LOCK_UNLOCKED;
EXPORT_SYMBOL(files_lock);
static spinlock_t filp_count_lock = SPIN_LOCK_UNLOCKED; static spinlock_t filp_count_lock = SPIN_LOCK_UNLOCKED;
/* slab constructors and destructors are called from arbitrary /* slab constructors and destructors are called from arbitrary
...@@ -199,8 +197,6 @@ void put_filp(struct file *file) ...@@ -199,8 +197,6 @@ void put_filp(struct file *file)
} }
} }
EXPORT_SYMBOL(put_filp);
void file_move(struct file *file, struct list_head *list) void file_move(struct file *file, struct list_head *list)
{ {
if (!list) if (!list)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment