From: Steve French <sfrench@us.ibm.com>
Date: Tue, 1 Nov 2005 18:22:55 +0000 (-0800)
Subject: Export __pagevec_release and pagevec_lookup_tag
X-Git-Tag: v2.6.15-rc1~18^2~35^2
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7f28570185f98bfa83f775756ced79e9f22b6d93;p=linux-2.6-omap-h63xx.git

Export __pagevec_release and pagevec_lookup_tag

These are needed to implement cifs_writepages

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
---

diff --git a/mm/swap.c b/mm/swap.c
index 96387e20184..154ae13d8b7 100644
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -259,6 +259,8 @@ void __pagevec_release(struct pagevec *pvec)
 	pagevec_reinit(pvec);
 }
 
+EXPORT_SYMBOL(__pagevec_release);
+
 /*
  * pagevec_release() for pages which are known to not be on the LRU
  *
@@ -387,6 +389,7 @@ unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping,
 	return pagevec_count(pvec);
 }
 
+EXPORT_SYMBOL(pagevec_lookup_tag);
 
 #ifdef CONFIG_SMP
 /*