]> git.ipfire.org Git - people/ms/linux.git/commit - fs/ceph/addr.c
ceph: kill ceph alloc_page_vec()
authorAlex Elder <elder@inktank.com>
Thu, 14 Mar 2013 19:09:05 +0000 (14:09 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:18:00 +0000 (21:18 -0700)
commit88486957f9fbf52ff4313ff52d583110a6503c28
treef064a25c5a2b47602653af8845d3a49485a2c910
parent94fe8420bf519acd641ecbd442a0a79c1a024212
ceph: kill ceph alloc_page_vec()

There is a helper function alloc_page_vec() that, despite its
generic sounding name depends heavily on an osd request structure
being populated with certain information.

There is only one place this function is used, and it ends up
being a bit simpler to just open code what it does, so get
rid of the helper.

The real motivation for this is deferring building the of the osd
request message, and this is a step in that direction.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
fs/ceph/addr.c