Export __pagevec_release and pagevec_lookup_tag
authorSteve French <sfrench@us.ibm.com>
Tue, 1 Nov 2005 18:22:55 +0000 (10:22 -0800)
committerSteve French <sfrench@us.ibm.com>
Tue, 1 Nov 2005 18:22:55 +0000 (10:22 -0800)
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>
mm/swap.c

index 96387e20184ab85971794daeb524ed07de6f8e18..154ae13d8b7e33bd9f5d929b2c7e4c16ab38590c 100644 (file)
--- 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
 /*