Skip to content

Commit

Permalink
Merged in DW-1396-access-freed-bio (pull request #401)
Browse files Browse the repository at this point in the history
DW-1396 fix BSOD that drbd references freed bio.

Approved-by: Songah Choi
Approved-by: sekim
  • Loading branch information
sungeun-kim committed Feb 8, 2017
2 parents e772f7a + e1120fc commit 1f24a7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drbd/drbd_actlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ static int _drbd_md_sync_page_io(struct drbd_device *device,
#ifdef _WIN32
if(err == STATUS_NO_SUCH_DEVICE)
{
drbd_err(device, "cannot find volume, PD=%ws\n", bio->bi_bdev->bd_disk->pDeviceExtension->PhysicalDeviceName);
// DW-1396: referencing bio causes BSOD as long as bio has already been freed once it's been submitted, we don't need volume device name which is already removed also.
drbd_err(device, "cannot find meta volume\n");
return err;
}
#endif
Expand Down

0 comments on commit 1f24a7e

Please sign in to comment.