Commit 0241a7de authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] mark dq_list_lock static

Only used in dq_list_lock these days.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 939a9a03
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
* i_sem on quota files is special (it's below dqio_sem) * i_sem on quota files is special (it's below dqio_sem)
*/ */
spinlock_t dq_list_lock = SPIN_LOCK_UNLOCKED; static spinlock_t dq_list_lock = SPIN_LOCK_UNLOCKED;
spinlock_t dq_data_lock = SPIN_LOCK_UNLOCKED; spinlock_t dq_data_lock = SPIN_LOCK_UNLOCKED;
static char *quotatypes[] = INITQFNAMES; static char *quotatypes[] = INITQFNAMES;
...@@ -1792,7 +1792,6 @@ module_init(dquot_init); ...@@ -1792,7 +1792,6 @@ module_init(dquot_init);
EXPORT_SYMBOL(register_quota_format); EXPORT_SYMBOL(register_quota_format);
EXPORT_SYMBOL(unregister_quota_format); EXPORT_SYMBOL(unregister_quota_format);
EXPORT_SYMBOL(dqstats); EXPORT_SYMBOL(dqstats);
EXPORT_SYMBOL(dq_list_lock);
EXPORT_SYMBOL(dq_data_lock); EXPORT_SYMBOL(dq_data_lock);
EXPORT_SYMBOL(vfs_quota_on); EXPORT_SYMBOL(vfs_quota_on);
EXPORT_SYMBOL(vfs_quota_on_mount); EXPORT_SYMBOL(vfs_quota_on_mount);
......
...@@ -45,7 +45,6 @@ ...@@ -45,7 +45,6 @@
typedef __kernel_uid32_t qid_t; /* Type in which we store ids in memory */ typedef __kernel_uid32_t qid_t; /* Type in which we store ids in memory */
typedef __u64 qsize_t; /* Type in which we store sizes */ typedef __u64 qsize_t; /* Type in which we store sizes */
extern spinlock_t dq_list_lock;
extern spinlock_t dq_data_lock; extern spinlock_t dq_data_lock;
/* Size of blocks in which are counted size limits */ /* Size of blocks in which are counted size limits */
......
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