[PATCH] don't include mount.h in dcache.h

From: Christoph Hellwig (hch@lst.de)
Date: Sat Nov 16 2002 - 16:45:25 EST


Once again we only need a forward-declaration of struct vfsmount.

--- 1.22/include/linux/dcache.h Fri Nov 15 18:09:46 2002
+++ edited/include/linux/dcache.h Sat Nov 16 20:18:12 2002
@@ -4,11 +4,12 @@
 #ifdef __KERNEL__
 
 #include <asm/atomic.h>
-#include <linux/mount.h>
 #include <linux/list.h>
 #include <linux/spinlock.h>
 #include <linux/cache.h>
 #include <asm/page.h> /* for BUG() */
+
+struct vfsmount;
 
 /*
  * linux/include/linux/dcache.h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:18 EST