From 2f0f5f6d638c8a24c1b8b04ebc9e303d330644cc Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Tue, 7 Feb 2023 16:20:16 +0100 Subject: dashboard/app: infer bug subsystems from crashes After each saved crash, invoke the new pkg/subsystem machinery to infer the subsystem list. Use 5 crashes with biggest priority to base the inference on. --- dashboard/app/linux_reporting.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dashboard/app/linux_reporting.go') diff --git a/dashboard/app/linux_reporting.go b/dashboard/app/linux_reporting.go index c31ef65f4..98220194b 100644 --- a/dashboard/app/linux_reporting.go +++ b/dashboard/app/linux_reporting.go @@ -9,7 +9,8 @@ package main // canBeVfsBug determines whether a bug could belong to the VFS subsystem itself. func canBeVfsBug(bug *Bug) bool { for _, subsystem := range bug.Tags.Subsystems { - if subsystem.Name == "vfs" { + // The "vfs" one is left for compatibility with the older matching code. + if subsystem.Name == "vfs" || subsystem.Name == "fs" { return true } } -- cgit mrf-deployment