From 77c556f663b7ac066268c94c18670ce93dec60c0 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Wed, 8 Jun 2011 22:17:38 +0200 Subject: [PATCH] drbd: Add struct drbd_resource In a first step, each resource has exactly one connection, and both objects are allocated at the same time. The final result will be one resource and zero or more connections. Only allow to delete a resource if all its connections are C_STANDALONE. Stop the worker threads of all connections early enough. Signed-off-by: Andreas Gruenbacher Signed-off-by: Philipp Reisner --- Reading git-format-patch failed