diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2017-01-25 18:16:21 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-02-20 12:16:13 +0100 |
commit | ecd4a68a26a2159b9f7233c6e892c94c90074cb0 (patch) | |
tree | d6626f98677ec32deead22e327e968917b838bcc /drivers/leds/leds-max8997.c | |
parent | libceph: pass reply buffer length through ceph_osdc_call() (diff) | |
download | linux-ecd4a68a26a2159b9f7233c6e892c94c90074cb0.tar.xz linux-ecd4a68a26a2159b9f7233c6e892c94c90074cb0.zip |
rbd: switch rbd_obj_method_sync() to ceph_osdc_call()
As explained in the previous commit, rbd_obj_request machinery (and
rbd_osd_req_create() in particular) shouldn't be used for working with
metadata objects.
Switch to the recently added ceph_osdc_call(). It assumes single pages
for outbound and inbound buffers, but that's OK - none of the callers
need more than that. These pages need to be allocated (messenger is in
dire need of proper iterator interface!), but we are swapping for
pages[] and pagelist allocations in the existing code.
Kill class_name argument - all rbd methods are under "rbd".
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'drivers/leds/leds-max8997.c')
0 files changed, 0 insertions, 0 deletions