]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
1.0.69 release v1.0.69
authorlongpanda <admin@ventoy.net>
Tue, 15 Feb 2022 14:04:50 +0000 (22:04 +0800)
committerlongpanda <admin@ventoy.net>
Tue, 15 Feb 2022 14:04:50 +0000 (22:04 +0800)
GRUB2/MOD_SRC/grub-2.04/grub-core/fs/ntfs.c
INSTALL/grub/grub.cfg

index f6c98c9b2b9048880c30b07980a91932de7cb628..e28b82aa9e69fb1cf2896a3581547bea62c290e3 100644 (file)
@@ -995,19 +995,8 @@ grub_ntfs_dir_iter (const char *filename, enum grub_fshelp_filetype filetype,
   info.mtime = grub_divmod64 (node->mtime, 10000000, 0) 
     - 86400ULL * 365 * (1970 - 1601)
     - 86400ULL * ((1970 - 1601) / 4) + 86400ULL * ((1970 - 1601) / 100);
   info.mtime = grub_divmod64 (node->mtime, 10000000, 0) 
     - 86400ULL * 365 * (1970 - 1601)
     - 86400ULL * ((1970 - 1601) / 4) + 86400ULL * ((1970 - 1601) / 100);
-
   if (!info.dir) 
   if (!info.dir) 
-  {
-    struct grub_ntfs_file *mft = (struct grub_ntfs_file *)node;
-    info.size = mft->size;
-    if (!mft->inode_read)
-    {
-        init_file(mft, mft->ino);
-        info.size = mft->size;
-        free_file(mft);
-    }
-  }
-  
+    info.size = node->size;
   grub_free (node);
   return ctx->hook (filename, &info, ctx->hook_data);
 }
   grub_free (node);
   return ctx->hook (filename, &info, ctx->hook_data);
 }
index c8ca419ba344a28f5145a312f7934b4951f0ad66..4e99232a522506ff6474449f5f7a6757d4eb467d 100644 (file)
@@ -2069,7 +2069,7 @@ function img_unsupport_menuentry {
 #############################################################
 #############################################################
 
 #############################################################
 #############################################################
 
-set VENTOY_VERSION="1.0.68"
+set VENTOY_VERSION="1.0.69"
 
 #ACPI not compatible with Window7/8, so disable by default
 set VTOY_PARAM_NO_ACPI=1
 
 #ACPI not compatible with Window7/8, so disable by default
 set VTOY_PARAM_NO_ACPI=1