Skip to contentSkip to conversation

mm/filemap.c should #include <linux/ramfs.h>

PATCH New Adrian Bunk 1 participant 1 message Mar 30, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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).

---

This patch has been sent on:
- 25 Feb 2008

31f02514a5fdca74a4f4f48f13d3450880b7f038 diff --git a/mm/filemap.c b/mm/filemap.c index 5c74b68..9b58ae0 100644

mm/filemap.c +2 -0
@@ -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"
 
 /*