public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] don't include mount.h in dcache.h
@ 2002-11-16 21:45 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2002-11-16 21:45 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

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

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

only message in thread, other threads:[~2002-11-16 21:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-16 21:45 [PATCH] don't include mount.h in dcache.h Christoph Hellwig

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