From: Philipp Reisner Date: Mon, 28 Dec 2009 15:58:38 +0000 (+0100) Subject: drbd: Fix for a race between IO and a detach operation [Bugz 262] X-Git-Tag: v2.6.33-rc5~8^2~10^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a6dbf2bc4ea3781c530f895e2d92fd3c4a735a2;p=pandora-kernel.git 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 Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed