mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 16:45:09 +00:00
Kernel: Implement f_basetype
in statvfs
This commit is contained in:
parent
8209c2b570
commit
4ba39c8d63
2 changed files with 6 additions and 0 deletions
|
@ -30,6 +30,8 @@ ErrorOr<FlatPtr> Process::do_statvfs(FileSystem const& fs, Custody const* custod
|
|||
|
||||
kernelbuf.f_namemax = 255;
|
||||
|
||||
(void)fs.class_name().copy_characters_to_buffer(kernelbuf.f_basetype, FSTYPSZ);
|
||||
|
||||
if (custody)
|
||||
kernelbuf.f_flag = custody->mount_flags();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue