summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-11-07 00:18:12 +0100
committerAndreas Kling <kling@serenityos.org>2021-11-10 16:13:10 +0100
commitad5061bb7a7d020bcea4f0c361600091ac5b9f62 (patch)
tree9601970ef9887a8c807ab84ea99611698f04dfb1 /Kernel
parent631447da574ec6421c77d37da54ad04b50102688 (diff)
downloadserenity-ad5061bb7a7d020bcea4f0c361600091ac5b9f62.zip
Kernel: Make (f)statvfs report filesystem ID correctly
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Syscalls/statvfs.cpp2
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;