]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: kill __rbd_remove()
authorAlex Elder <elder@inktank.com>
Fri, 26 Apr 2013 20:44:36 +0000 (15:44 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:19:53 +0000 (21:19 -0700)
commit98953529885e6763eb27d85cdde0e833a6da6204
treec7eb660756db8554fc95bf97fe55aaf155d9b3a2
parentcc17a2f5bec2a459ba3fc09d6547eaf0d7e12ed1
rbd: kill __rbd_remove()

The function __rbd_remove() is used in two spots, and it's fairly
simple.  It combines cleanup of part of the ceph-side state as well
as cleaning up the Linux-side state.  Just open code it in the two
callers and eliminate the function.

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