mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch] hide spinlock in linux/quota.h behind __KERNEL__
@ 2007-05-02 22:53 Mike Frysinger
  2007-05-03  9:39 ` Jan Kara
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2007-05-02 22:53 UTC (permalink / raw)
  To: jack; +Cc: akpm, linux-kernel

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
diff --git a/include/linux/quota.h b/include/linux/quota.h
index 77db80a..6243982 100644
--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -44,8 +44,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_data_lock;
-
 /* Size of blocks in which are counted size limits */
 #define QUOTABLOCK_BITS 10
 #define QUOTABLOCK_SIZE (1 << QUOTABLOCK_BITS)
@@ -139,6 +137,8 @@ struct if_dqinfo {
 #include <linux/dqblk_v1.h>
 #include <linux/dqblk_v2.h>
 
+extern spinlock_t dq_data_lock;
+
 /* Maximal numbers of writes for quota operation (insert/delete/update)
  * (over VFS all formats) */
 #define DQUOT_INIT_ALLOC max(V1_INIT_ALLOC, V2_INIT_ALLOC)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-03  9:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-02 22:53 [patch] hide spinlock in linux/quota.h behind __KERNEL__ Mike Frysinger
2007-05-03  9:39 ` Jan Kara

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®