mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
fuse: use release_pages()
Replace iterated page_cache_release() with release_pages(), which is faster and shorter. Needs release_pages() to be exported to modules. Suggested-by: Andrew Morton <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
d57af9b214
commit
0be8557bcd
2 changed files with 2 additions and 6 deletions
|
|
@ -378,6 +378,7 @@ void release_pages(struct page **pages, int nr, int cold)
|
|||
|
||||
pagevec_free(&pages_to_free);
|
||||
}
|
||||
EXPORT_SYMBOL(release_pages);
|
||||
|
||||
/*
|
||||
* The pages which we're about to release may be in the deferred lru-addition
|
||||
|
|
|
|||
Loading…
Reference in a new issue