]> err.no Git - linux-2.6/commitdiff
Don't include private headers from user-visible parts of linux/quota.h
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 25 Apr 2006 13:52:13 +0000 (14:52 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 25 Apr 2006 13:52:13 +0000 (14:52 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/quota.h

index 2dab71e1c3d12565cf428084e7716274b257be57..b8fbf26eb88579265a95e490700bb370d52544d2 100644 (file)
@@ -37,8 +37,6 @@
 
 #include <linux/errno.h>
 #include <linux/types.h>
-#include <linux/spinlock.h>
-#include <linux/mutex.h>
 
 #define __DQUOT_VERSION__      "dquot_6.5.1"
 #define __DQUOT_NUM_VERSION__  6*10000+5*100+1
@@ -133,6 +131,8 @@ struct if_dqinfo {
 };
 
 #ifdef __KERNEL__
+#include <linux/spinlock.h>
+#include <linux/mutex.h>
 
 #include <linux/dqblk_xfs.h>
 #include <linux/dqblk_v1.h>