mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-01 16:02:53 +00:00
Kernel+LibC: Use 64 bit values for ino_t
Since the InodeIndex encapsulates a 64 bit value, it is correct to ensure that the Kernel is exposing the entire value and the LibC is aware of it. This commit requires an entire re-compile because it's essentially a change in the Kernel ABI, together with a corresponding change in LibC.
This commit is contained in:
parent
04c2addaa8
commit
bf1adc2d5d
Notes:
sideshowbarker
2024-07-18 07:04:29 +09:00
Author: https://github.com/supercomputer7
Commit: bf1adc2d5d
Pull-request: https://github.com/SerenityOS/serenity/pull/9328
Issue: https://github.com/SerenityOS/serenity/issues/9241
Reviewed-by: https://github.com/awesomekling
6 changed files with 7 additions and 6 deletions
|
@ -261,7 +261,7 @@ KResultOr<size_t> FileDescription::get_dir_entries(UserOrKernelBuffer& output_bu
|
|||
return false;
|
||||
}
|
||||
}
|
||||
stream << (u32)entry.inode.index().value();
|
||||
stream << (u64)entry.inode.index().value();
|
||||
stream << m_inode->fs().internal_file_type_to_directory_entry_type(entry);
|
||||
stream << (u32)entry.name.length();
|
||||
stream << entry.name.bytes();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue