commit | 54a5400721da7fa5a16cea151aade5bdfee74111 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Tue Nov 13 21:11:15 2012 -0600 |
committer | Alex Elder <elder@inktank.com> | Thu Jan 17 16:34:57 2013 -0600 |
tree | 285ba131da6c5b700c0fda64858de938f45959c6 | |
parent | d178a9e74006e80f568d87e29f2a68f14fc7cbb1 [diff] |
libceph: don't set pages or bio in ceph_osdc_alloc_request() Only one of the two callers of ceph_osdc_alloc_request() provides page or bio data for its payload. And essentially all that function was doing with those arguments was assigning them to fields in the osd request structure. Simplify ceph_osdc_alloc_request() by having the caller take care of making those assignments Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>