Re: [PATCH v7 12/14] fs/resctrl: Call architecture hooks for every mount/unmount

From: Reinette Chatre

Date: Mon Jun 08 2026 - 19:29:00 EST


Hi Tony,

On 6/1/26 12:56 PM, Tony Luck wrote:
> @@ -3147,6 +3148,10 @@ static int rdt_get_tree(struct fs_context *fc)
> out:
> mutex_unlock(&rdtgroup_mutex);
> cpus_read_unlock();
> +
> + if (ret)

Can ret be zero here?

> + resctrl_arch_unmount();
> +
> return ret;
> }
>

Reinette