From 2d412c5ad1ca812ebefce6153738f242d20d2fbf Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Thu, 28 May 2020 17:27:30 +0300 Subject: [PATCH] Kernel: Report source of synthetic filesystems as "none" As opposed to the fs name. This matches the new convention we have for specifying it in mount(8). --- Kernel/FileSystem/ProcFS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/FileSystem/ProcFS.cpp b/Kernel/FileSystem/ProcFS.cpp index 659dd19fc9b..2f154871bd9 100644 --- a/Kernel/FileSystem/ProcFS.cpp +++ b/Kernel/FileSystem/ProcFS.cpp @@ -749,7 +749,7 @@ Optional procfs$df(InodeIdentifier) if (fs.is_file_backed()) fs_object.add("source", static_cast(fs).file_description().absolute_path()); else - fs_object.add("source", fs.class_name()); + fs_object.add("source", "none"); }); array.finish(); return builder.build();