[PATCH v3 1/6] ntdll: Silence a warning for FileFsVolumeInformation.

Zebediah Figura z.figura12 at gmail.com
Wed Apr 8 16:06:02 CDT 2020


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>
---
 dlls/ntdll/file.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index 1adc1e094ec..dac8538add8 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;
         }
-- 
2.26.0




More information about the wine-devel mailing list