1
0
mirror of https://github.com/bobranten/Ext4Fsd.git synced 2025-10-29 13:18:30 -05:00

implemented support for s_mkfs_time_hi

This commit is contained in:
Bo Branten
2024-09-02 22:03:26 +02:00
parent 202e5fd014
commit 570bbebbf1

View File

@@ -95,7 +95,7 @@ Ext2QueryVolumeInformation (IN PEXT2_IRP_CONTEXT IrpContext)
}
FsVolInfo = (PFILE_FS_VOLUME_INFORMATION) Buffer;
FsVolInfo->VolumeCreationTime = Ext2NtTime(Vcb->SuperBlock->s_mkfs_time);
Ext2SecondsSince1970ToTime(Vcb->SuperBlock->s_mkfs_time, Vcb->SuperBlock->s_mkfs_time_hi, &FsVolInfo->VolumeCreationTime);
FsVolInfo->VolumeSerialNumber = Vcb->Vpb->SerialNumber;
VolumeLabelLength = Vcb->Vpb->VolumeLabelLength;
FsVolInfo->VolumeLabelLength = VolumeLabelLength;