rbd: kill rbd_req_{read,write}()
authorAlex Elder <elder@inktank.com>
Thu, 11 Oct 2012 01:59:29 +0000 (18:59 -0700)
committerAlex Elder <elder@inktank.com>
Fri, 26 Oct 2012 22:18:08 +0000 (17:18 -0500)
commit13f4042c05b6a1a638ccab3f0cabdb84993803a2
tree4808473c0be6969a69edd78232408bad1d1996b8
parentbe466c1cc36621590ef17b05a6d342dfd33f7280
rbd: kill rbd_req_{read,write}()

Both rbd_req_read() and rbd_req_write() are simple wrapper routines
for rbd_do_op(), and each is only called once.  Replace each wrapper
call with a direct call to rbd_do_op(), and get rid of the wrapper
functions.

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