login
Header Space

 
 

[PATCH] mm: fix filemap.c's comment re: buffer_head.h inclusion reason

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: <linux-mm@...>
Date: Thursday, May 22, 2008 - 7:54 pm

It appears mm/filemap.c's comment on why buffer_head.h is included has
gotten out of date.  Today generic_osync_inode() is coming from the fs.h
include and buffer_head.h is providing try_to_free_buffers().

Signed-off-by: Tim Pepper <lnxninja@linux.vnet.ibm.com>
Cc:            linux-mm@kvack.org

---

diff --git a/mm/filemap.c b/mm/filemap.c
index 1e6a7d3..fe4adf4 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -38,7 +38,7 @@
 /*
  * FIXME: remove all knowledge of the buffer layer from the core VM
  */
-#include <linux/buffer_head.h> /* for generic_osync_inode */
+#include <linux/buffer_head.h> /* for try_to_free_buffers */
 
 #include <asm/mman.h>
 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] mm: fix filemap.c's comment re: buffer_head.h inclus..., Tim Pepper, (Thu May 22, 7:54 pm)
speck-geostationary