A trivial patch for removing unnecessary comment in mm/filemap.c

From: Himanshu Raj
Date: Wed Jul 14 2004 - 18:43:50 EST


Hi,

This patch removes some unnecessary comments in mm/filemap.c in function find_get_page. First, there is no
longer a hash list being used, second the lock being used is the same for search as well as addition/removal.

Thanks,
Himanshu
--
-------------------------------------------------------------------------
Himanshu Raj
PhD Student, GaTech (www.cc.gatech.edu/~rhim)
I prefer to receive attachments in an open, non-proprietary format.
-------------------------------------------------------------------------
--- linux-2.6.8-rc1-old/mm/filemap.c 2004-07-14 19:29:53.757633968 -0400
+++ linux-2.6.8-rc1/mm/filemap.c 2004-07-14 19:30:05.365869248 -0400
@@ -440,10 +440,6 @@
{
struct page *page;

- /*
- * We scan the hash list read-only. Addition to and removal from
- * the hash-list needs a held write-lock.
- */
spin_lock_irq(&mapping->tree_lock);
page = radix_tree_lookup(&mapping->page_tree, offset);
if (page)