[stgt] [PATCH] bs_rbd.c: pass cluster, not &cluster, to rados_shutdown()

Dan Mick dan.mick at inktank.com
Wed Oct 9 05:50:49 CEST 2013


Signed-off-by: Dan Mick <dan.mick at inktank.com>
---
  usr/bs_rbd.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr/bs_rbd.c b/usr/bs_rbd.c
index f1dd77d..3abf1cf 100644
--- a/usr/bs_rbd.c
+++ b/usr/bs_rbd.c
@@ -515,7 +515,7 @@ static void bs_rbd_exit(struct scsi_lu *lu)
  	struct bs_thread_info *info = BS_THREAD_I(lu);

  	bs_thread_close(info);
-	rados_shutdown(&cluster);
+	rados_shutdown(cluster);
  }

  static struct backingstore_template rbd_bst = {
-- 
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list