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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Dan Mick <dan.mick@xxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux