On Mon, Oct 18, 2021 at 10:36 AM Olivier Matz <[email protected]> wrote: > > On Mon, Oct 18, 2021 at 10:26:35AM +0200, David Marchand wrote: > > As reported by Dmitry, MEMPOOL_F_POOL_CREATED is a flag only manipulated > > internally. > > This flag is not supposed to be requested from an application and would > > probably result in an incorrect behavior if an application did pass it. > > > > Other internal flags may be introduced later. > > > > Rework the check and export a mask of valid user flags for use in the > > unit test. > > > > Fixes: b240af8b10f9 ("mempool: enforce valid flags at creation") > > > > Reported-by: Dmitry Kozlyuk <[email protected]> > > Signed-off-by: David Marchand <[email protected]> > Acked-by: Olivier Matz <[email protected]> Acked-by: Andrew Rybchenko <[email protected]>
Rebased on top of mempool cleanup series, and applied. Thanks. -- David Marchand

