On 01.12.2020 09:21, Juergen Gross wrote: > Add /cpupool/<cpupool-id> directories to hypfs. Those are completely > dynamic, so the related hypfs access functions need to be implemented. > > Signed-off-by: Juergen Gross <jgr...@suse.com> > --- > V2: > - added const (Jan Beulich)
Any particular reason this doesn't extend to ... > @@ -1003,12 +1006,131 @@ static struct notifier_block cpu_nfb = { > .notifier_call = cpu_callback > }; > > +#ifdef CONFIG_HYPFS > +static const struct hypfs_entry *cpupool_pooldir_enter( > + const struct hypfs_entry *entry); > + > +static struct hypfs_funcs cpupool_pooldir_funcs = { ... this (similarly in the next patch)? Granted I didn't look at the hypfs patches yet, but I don't suppose these struct instances need to be writable. Jan