mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mark dq_list_lock static
@ 2004-09-07 14:51 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2004-09-07 14:51 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

only used in dq_list_lock these days


--- 1.89/fs/dquot.c	2004-07-11 10:52:11 +02:00
+++ edited/fs/dquot.c	2004-09-07 16:52:21 +02:00
@@ -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 @@
 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);
--- 1.29/include/linux/quota.h	2004-05-10 12:26:52 +02:00
+++ edited/include/linux/quota.h	2004-09-07 13:14:31 +02:00
@@ -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 */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-07 14:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-07 14:51 [PATCH] mark dq_list_lock static Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®