]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitecbbfc986335577d1c1afbb634a86eb30fbedda7
tree80d211221be1583303818cf201d6e40cc0674608
parent39a66e8211aae2a8e23128a8f11a87118b90aba1
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