fuse: use release_pages()
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 27 Oct 2010 22:34:46 +0000 (15:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:17 +0000 (18:03 -0700)
commit0be8557bcd34887d5a42c01c5659cab5ecf99f13
tree80d211221be1583303818cf201d6e40cc0674608
parentd57af9b2142f31a39dcfdeb30776baadfc802827
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 <akpm@linux-foundation.org>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fuse/dev.c
mm/swap.c