From: Alex Elder Date: Wed, 14 Nov 2012 03:11:15 +0000 (-0600) Subject: libceph: don't set pages or bio in ceph_osdc_alloc_request() X-Git-Tag: v3.9-rc1~41^2~21^2~59^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54a5400721da7fa5a16cea151aade5bdfee74111;p=pandora-kernel.git 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 Reviewed-by: Josh Durgin --- Reading git-diff-tree failed