Skip to contentSkip to conversation

don't include mount.h in dcache.h

PATCH New Christoph Hellwig 1 participant 1 message Nov 16, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 don't include mount.h in dcache.h

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

include/linux/dcache.h +2 -1
@@ -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