public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 PATCH] Export invalidate_mapping_pages() to modules.
@ 2007-01-01 23:28 Anton Altaparmakov
  2007-01-03 13:29 ` Arjan van de Ven
  0 siblings, 1 reply; 6+ messages in thread
From: Anton Altaparmakov @ 2007-01-01 23:28 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel

Hi Linus and Andrew,

Please apply below patch which exports invalidate_mapping_pages() to 
modules.  It makes no sense to me to export invalidate_inode_pages() and 
not invalidate_mapping_pages() and I actually need 
invalidate_mapping_pages() because of its range specification ability...

It would be great if this could make it into 2.6.20!

Thanks a lot in advance!

Best regards,

	Anton
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/

---

Export invalidate_mapping_pages() to modules.

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
---

diff --git a/mm/truncate.c b/mm/truncate.c
index ecdfdcc..26acee6 100644
--- a/mm/truncate.c
+++ b/mm/truncate.c
@@ -303,6 +303,7 @@ unlock:
 	}
 	return ret;
 }
+EXPORT_SYMBOL(invalidate_mapping_pages);
 
 unsigned long invalidate_inode_pages(struct address_space *mapping)
 {

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-01-03 20:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-01 23:28 [2.6 PATCH] Export invalidate_mapping_pages() to modules Anton Altaparmakov
2007-01-03 13:29 ` Arjan van de Ven
2007-01-03 18:58   ` Anton Altaparmakov
2007-01-03 19:03   ` Andrew Morton
2007-01-03 20:11     ` Christoph Hellwig
2007-01-03 20:44       ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox