aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/resource.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2009-12-28 16:58:38 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2009-12-29 17:36:40 +0100
commit0a6dbf2bc4ea3781c530f895e2d92fd3c4a735a2 (patch)
tree0918d5f492e456f20dfb668a3d885cabc1257920 /kernel/resource.c
parentdrbd: Use drbd_crypto_is_hash() instead of an open coded check (diff)
downloadwireguard-linux-0a6dbf2bc4ea3781c530f895e2d92fd3c4a735a2.tar.xz
wireguard-linux-0a6dbf2bc4ea3781c530f895e2d92fd3c4a735a2.zip
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 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions