ProcFS: Identify virtual filesystems' device in df (#728)

This commit is contained in:
Alexander 2019-11-03 20:58:10 +01:00 committed by Andreas Kling
parent 9e608885d1
commit 9e03f3ce20
Notes: sideshowbarker 2024-07-19 11:26:43 +09:00

View file

@ -570,7 +570,7 @@ Optional<KBuffer> procfs$df(InodeIdentifier)
if (fs.is_disk_backed())
fs_object.add("device", static_cast<const DiskBackedFS&>(fs).device().absolute_path());
else
fs_object.add("device", nullptr);
fs_object.add("device", fs.class_name());
});
array.finish();
return builder.build();