1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 01:08:11 +00:00

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).
This commit is contained in:
Sergey Bugaev 2020-05-28 17:27:30 +03:00 committed by Andreas Kling
parent 8ff4587f65
commit 2d412c5ad1

View file

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