Skip to content

Commit

Permalink
Export __pagevec_release and pagevec_lookup_tag
Browse files Browse the repository at this point in the history
These are needed to implement cifs_writepages

Signed-off-by: Dave Kleikamp <[email protected]>
Signed-off-by: Steve French <[email protected]>
  • Loading branch information
Steve French committed Nov 1, 2005
1 parent ef0eaa1 commit 7f28570
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mm/swap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down Expand Up @@ -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
/*
Expand Down

0 comments on commit 7f28570

Please sign in to comment.