Zebediah Figura : ntdll: Silence a warning for FileFsVolumeInformation.
Module: wine Branch: master Commit: 3c28511d42c6f962207ec916306bda1d1e9aa54e URL: https://source.winehq.org/git/wine.git/?a=commit;h=3c28511d42c6f962207ec9163... Author: Zebediah Figura <z.figura12(a)gmail.com> Date: Wed Apr 8 16:06:02 2020 -0500 ntdll: Silence a warning for FileFsVolumeInformation. We may call CopyFile() and thus GetFileInformationByHandle(), which retrieves the volume serial number, many times when setting up a prefix, before mountmgr has been initialized. Signed-off-by: Zebediah Figura <zfigura(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/ntdll/file.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index 1adc1e094e..dac8538add 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -3458,7 +3458,6 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io if (!(drive = get_mountmgr_fs_info( handle, fd ))) { - ERR_(winediag)("Failed to query volume information from mountmgr.\n"); io->u.Status = STATUS_NOT_IMPLEMENTED; break; }
participants (1)
-
Alexandre Julliard