ceph: use release_pages() directly
authorJohn Hubbard <jhubbard@nvidia.com>
Fri, 9 Aug 2019 03:56:47 +0000 (20:56 -0700)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 16 Sep 2019 10:06:25 +0000 (12:06 +0200)
commit96ac9158a230e467d4be737c82702355c6838fc4
tree5b7d450590805db8343ec7a0640bee202260f7f9
parent5435d2069503e2aa89c34a94154f4f2fa4a0c9c4
ceph: use release_pages() directly

release_pages() has been available to modules since Oct, 2010,
when commit 0be8557bcd34 ("fuse: use release_pages()") added
EXPORT_SYMBOL(release_pages). However, this ceph code was still
using a workaround.

Remove the workaround, and call release_pages() directly.

Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/addr.c