Procházet zdrojové kódy

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 před 5 roky
rodič
revize
2d412c5ad1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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();