Zebediah Figura : ntdll: Silence a warning for FileFsVolumeInformation.

Alexandre Julliard julliard at winehq.org
Thu Apr 9 16:04:44 CDT 2020


Module: wine
Branch: master
Commit: 3c28511d42c6f962207ec916306bda1d1e9aa54e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3c28511d42c6f962207ec916306bda1d1e9aa54e

Author: Zebediah Figura <z.figura12 at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
         }




More information about the wine-cvs mailing list