[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2 15/17] xen/cpupool: add cpupool directories
On 04.12.2020 12:08, Jürgen Groß wrote: > On 04.12.20 10:10, Jan Beulich wrote: >> On 01.12.2020 09:21, Juergen Gross wrote: >>> +static struct hypfs_funcs cpupool_dir_funcs = { >> >> Yet another missing const? > > Already fixed. > >> >>> + .enter = cpupool_dir_enter, >>> + .exit = cpupool_dir_exit, >>> + .read = cpupool_dir_read, >>> + .write = hypfs_write_deny, >>> + .getsize = cpupool_dir_getsize, >>> + .findentry = cpupool_dir_findentry, >>> +}; >>> + >>> +static HYPFS_VARDIR_INIT(cpupool_dir, "cpupool", &cpupool_dir_funcs); >> >> Why VARDIR? This isn't a template, is it? Or does VARDIR really >> serve multiple purposes? > > Basically it just takes an additional parameter for the function vector. > Maybe I should rename it to HYPFS_DIR_INIT_FUNC()? Maybe. Depends on what exactly the VAR is meant to stand for. Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |