diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2009-12-28 15:58:38 (GMT) |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2009-12-29 16:36:40 (GMT) |
commit | 0a6dbf2bc4ea3781c530f895e2d92fd3c4a735a2 (patch) | |
tree | 0918d5f492e456f20dfb668a3d885cabc1257920 /drivers/block/cpqarray.c | |
parent | 0798219f6154baa6a8efe767bfffb4a724e4b1e1 (diff) | |
download | linux-fsl-qoriq-0a6dbf2bc4ea3781c530f895e2d92fd3c4a735a2.tar.xz |
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>
Diffstat (limited to 'drivers/block/cpqarray.c')
0 files changed, 0 insertions, 0 deletions