diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2021-11-07 00:18:12 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-10 16:13:10 +0100 |
commit | ad5061bb7a7d020bcea4f0c361600091ac5b9f62 (patch) | |
tree | 9601970ef9887a8c807ab84ea99611698f04dfb1 /Kernel | |
parent | 631447da574ec6421c77d37da54ad04b50102688 (diff) | |
download | serenity-ad5061bb7a7d020bcea4f0c361600091ac5b9f62.zip |
Kernel: Make (f)statvfs report filesystem ID correctly
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/Syscalls/statvfs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/statvfs.cpp b/Kernel/Syscalls/statvfs.cpp index c0478a3985..3d8c8323fe 100644 --- a/Kernel/Syscalls/statvfs.cpp +++ b/Kernel/Syscalls/statvfs.cpp @@ -26,7 +26,7 @@ ErrorOr<FlatPtr> Process::do_statvfs(FileSystem const& fs, Custody const* custod kernelbuf.f_ffree = fs.free_inode_count(); kernelbuf.f_favail = fs.free_inode_count(); // FIXME: same as f_bavail - kernelbuf.f_fsid = 0; // FIXME: Implement "Filesystem ID" into Filesystem + kernelbuf.f_fsid = fs.fsid(); kernelbuf.f_namemax = 255; |