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

Christoph Hellwig (hch@lst.de)
Sat, 16 Nov 2002 22:45:25 +0100


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/