Re: [PATCH v7 12/14] fs/resctrl: Call architecture hooks for every mount/unmount
From: Luck, Tony
Date: Wed Jun 10 2026 - 12:22:40 EST
On Mon, Jun 08, 2026 at 04:26:06PM -0700, Reinette Chatre wrote:
> 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?
No. I'll remove the "if" check.
>
> > + resctrl_arch_unmount();
> > +
> > return ret;
> > }
> >
>
> Reinette
-Tony