]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
rbd: get rid of trivial v1 header wrappers
authorAlex Elder <elder@inktank.com>
Mon, 6 May 2013 14:51:30 +0000 (09:51 -0500)
committerAlex Elder <elder@inktank.com>
Wed, 8 May 2013 22:00:46 +0000 (17:00 -0500)
commit99a41ebcee1a1ea0463b1b29d2e888de21a60c66
treea9e5528177900d24b8819181d188de447211f886
parent30d60ba2f258da24b91edb880338c7178f901de9
rbd: get rid of trivial v1 header wrappers

Get rid of the trivial wrapper functions rbd_dev_v1_refresh() and
rbd_dev_v1_probe(), substituting rbd_dev_v1_header_read() calls
in their place.

Rename rbd_dev_v1_header_read() to be rbd_dev_v1_header_info(), to
be more generic (it will better reflect what happens with format 2
images).

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c