commit | 569083c08dc16c043b4bdd473d41ff85a2b2df9e | [log] [tgz] |
---|---|---|
author | Lars Ellenberg <lars.ellenberg@linbit.com> | Mon Mar 07 09:49:02 2011 +0100 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Fri Oct 14 16:48:07 2011 +0200 |
tree | 14c2f8ed88fec74a74dc790b56b5819d17e1330d | |
parent | da4a75d2ef064501f6756986af6ea330ba0585d7 [diff] |
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 <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>