mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
minix mtime support
This commit is contained in:
1 parent
7ac6c4842d
commit
f5ff296240
1 file changed
+7
@@ -480,6 +480,13 @@ grub_minix_dir (grub_device_t device, const char *path,
|
||||
grub_minix_read_inode (data, grub_le_to_cpu16 (ino));
|
||||
info.dir = ((GRUB_MINIX_INODE_MODE (data)
|
||||
& GRUB_MINIX_IFDIR) == GRUB_MINIX_IFDIR);
|
||||
info.mtimeset = 1;
|
||||
#ifndef MODE_MINIX2
|
||||
info.mtime = grub_le_to_cpu32 (data->inode.ctime);
|
||||
#else
|
||||
info.mtime = grub_le_to_cpu32 (data->inode.mtime);
|
||||
#endif
|
||||
|
||||
if (hook (filename, &info) ? 1 : 0)
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user