[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080225000835.GL2088@cs181133002.pp.htv.fi>
Date: Mon, 25 Feb 2008 02:08:35 +0200
From: Adrian Bunk <bunk@...nel.org>
To: linux-kernel@...r.kernel.org
Subject: [2.6 patch] mm/filemap.c should #include <linux/ramfs.h>
Every file should include the headers containing the externs for its
global code (in this case for struct generic_file_vm_ops).
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
31f02514a5fdca74a4f4f48f13d3450880b7f038 diff --git a/mm/filemap.c b/mm/filemap.c
index 5c74b68..9b58ae0 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -34,6 +34,8 @@
#include <linux/cpuset.h>
#include <linux/hardirq.h> /* for BUG_ON(!in_atomic()) only */
#include <linux/memcontrol.h>
+#include <linux/ramfs.h>
+
#include "internal.h"
/*
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists