Commit dabba3cc authored by Roman Pišl's avatar Roman Pišl Committed by Alexandre Julliard

ntdll: Don't set error status if volume serial number is missing.

parent 73f69d66
......@@ -4108,7 +4108,7 @@ NTSTATUS WINAPI NtQueryInformationFile( HANDLE handle, IO_STATUS_BLOCK *io,
FILE_ID_INFORMATION *info = ptr;
info->VolumeSerialNumber = 0;
if (!(io->u.Status = get_mountmgr_fs_info( handle, fd, &drive, sizeof(drive) )))
if (!get_mountmgr_fs_info( handle, fd, &drive, sizeof(drive) ))
info->VolumeSerialNumber = drive.serial;
memset( &info->FileId, 0, sizeof(info->FileId) );
*(ULONGLONG *)&info->FileId = st.st_ino;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment