commit | 0a6dbf2bc4ea3781c530f895e2d92fd3c4a735a2 | [log] [tgz] |
---|---|---|
author | Philipp Reisner <philipp.reisner@linbit.com> | Mon Dec 28 16:58:38 2009 +0100 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Tue Dec 29 17:36:40 2009 +0100 |
tree | 0918d5f492e456f20dfb668a3d885cabc1257920 | |
parent | 0798219f6154baa6a8efe767bfffb4a724e4b1e1 [diff] |
drbd: Fix for a race between IO and a detach operation [Bugz 262] In D_DISKLESS we do not hand out any new references to ldev (local_cnt) therefore waiting until all previously handed out refereces got returned is sufficient before actually freeing mdev->ldev. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>