Browse Source

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).
Sergey Bugaev 5 years ago
parent
commit
2d412c5ad1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Kernel/FileSystem/ProcFS.cpp

+ 1 - 1
Kernel/FileSystem/ProcFS.cpp

@@ -749,7 +749,7 @@ Optional<KBuffer> procfs$df(InodeIdentifier)
         if (fs.is_file_backed())
             fs_object.add("source", static_cast<const FileBackedFS&>(fs).file_description().absolute_path());
         else
-            fs_object.add("source", fs.class_name());
+            fs_object.add("source", "none");
     });
     array.finish();
     return builder.build();