From: Lars Ellenberg Date: Mon, 7 Mar 2011 08:49:02 +0000 (+0100) Subject: drbd: fix drbd_delete_device: remove vnr from volumes; idr_remove(); synchronize_rcu... X-Git-Tag: v3.8-rc1~78^2~18^2~420 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=569083c08dc16c043b4bdd473d41ff85a2b2df9e;p=pandora-kernel.git drbd: fix drbd_delete_device: remove vnr from volumes; idr_remove(); synchronize_rcu(); before cleanup Still missing: rcu_readlock() on the various call sites that access/iterate over those idrs. We don't need a specific write lock, as we only modify from configuration context, which is already strictly serialized. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed