]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
libceph: don't set pages or bio in ceph_osdc_alloc_request()
authorAlex Elder <elder@inktank.com>
Wed, 14 Nov 2012 03:11:15 +0000 (21:11 -0600)
committerAlex Elder <elder@inktank.com>
Mon, 19 Nov 2012 23:37:50 +0000 (17:37 -0600)
commit5c3ade2f8132b20c04b23bb7f97c072a34b9a797
tree7699cc9e6e13a9d31b930565450152e8790fd47b
parent6d70d9800afd57fd340780cefe94a8b8efdde8dc
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>
drivers/block/rbd.c
include/linux/ceph/osd_client.h
net/ceph/osd_client.c