]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - GRUB2/MOD_SRC/grub-2.04/grub-core/fs/xfs.c
1. Add a new feature to directly boot wim files
[Ventoy.git] / GRUB2 / MOD_SRC / grub-2.04 / grub-core / fs / xfs.c
index a5c8d938f35e8efde449fbf5425ed0a0f331663e..96ffecbfc921227ec6c6e6d44eab4f7b947264f4 100644 (file)
@@ -970,8 +970,6 @@ grub_xfs_dir_iter (const char *filename, enum grub_fshelp_filetype filetype,
       info.mtime = grub_be_to_cpu32 (node->inode.mtime.sec);
     }
   info.dir = ((filetype & GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR);
-  if (!info.dir)
-    info.size = node->inode.size;
   grub_free (node);
   return ctx->hook (filename, &info, ctx->hook_data);
 }