From: Christoph Hellwig <hch@lst.de>

Only used in dq_list_lock these days.

Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/fs/dquot.c            |    3 +--
 25-akpm/include/linux/quota.h |    1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff -puN fs/dquot.c~mark-dq_list_lock-static fs/dquot.c
--- 25/fs/dquot.c~mark-dq_list_lock-static	Tue Sep  7 16:26:23 2004
+++ 25-akpm/fs/dquot.c	Tue Sep  7 16:26:23 2004
@@ -120,7 +120,7 @@
  * 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;
 
 static char *quotatypes[] = INITQFNAMES;
@@ -1792,7 +1792,6 @@ module_init(dquot_init);
 EXPORT_SYMBOL(register_quota_format);
 EXPORT_SYMBOL(unregister_quota_format);
 EXPORT_SYMBOL(dqstats);
-EXPORT_SYMBOL(dq_list_lock);
 EXPORT_SYMBOL(dq_data_lock);
 EXPORT_SYMBOL(vfs_quota_on);
 EXPORT_SYMBOL(vfs_quota_on_mount);
diff -puN include/linux/quota.h~mark-dq_list_lock-static include/linux/quota.h
--- 25/include/linux/quota.h~mark-dq_list_lock-static	Tue Sep  7 16:26:23 2004
+++ 25-akpm/include/linux/quota.h	Tue Sep  7 16:26:23 2004
@@ -45,7 +45,6 @@
 typedef __kernel_uid32_t qid_t; /* Type in which we store ids in memory */
 typedef __u64 qsize_t;          /* Type in which we store sizes */
 
-extern spinlock_t dq_list_lock;
 extern spinlock_t dq_data_lock;
 
 /* Size of blocks in which are counted size limits */
_