]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3459400da28f05d443185937cc29db6ee66ff49c
tree4808473c0be6969a69edd78232408bad1d1996b8
parentdf6435c46a83e085424908cdb642de26020281d6
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