From e47141284b456fb578a31e8b7cdb7199eb34272b Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 1 Jun 2025 11:57:51 +0300 Subject: [PATCH] Do full real harddrive partition lock even if partition-only lock succeeded. --- od-win32/hardfile_win32.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/od-win32/hardfile_win32.cpp b/od-win32/hardfile_win32.cpp index af691582..707f41c5 100644 --- a/od-win32/hardfile_win32.cpp +++ b/od-win32/hardfile_win32.cpp @@ -1920,7 +1920,6 @@ static void lock_drive(struct hardfiledata *hfd, const TCHAR *name, HANDLE drvha if (DeviceIoControl(drvhandle, FSCTL_DISMOUNT_VOLUME, NULL, 0, NULL, 0, &written, NULL)) { write_log(_T("'%s' locked and dismounted successfully.\n"), name); hfd->handle->dismounted = true; - return; } } -- 2.47.3