]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: make rbd_dev_destroy() match rbd_dev_create()
authorAlex Elder <elder@inktank.com>
Fri, 26 Apr 2013 14:43:47 +0000 (09:43 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:19:42 +0000 (21:19 -0700)
commit025d55595430f3799eab46d3ae233bb1ed987a68
tree63f9791533132b70ebd5b7168b8c2b92e910ac4f
parent1e317f749e6b8cc5ab258a5242f49a179f14cd8c
rbd: make rbd_dev_destroy() match rbd_dev_create()

Currently, rbd_dev_destroy() does more than just the inverse of what
rbd_dev_create() does.  Stop doing that, and move the two extra
things it does into the three call sites.

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