On Fri, Mar 27, 2020 at 05:00:14PM -0300, Jason Gunthorpe wrote: > From: Jason Gunthorpe <jgg@xxxxxxxxxxxx> > > Using two bools instead of flags return is not necessary and leads to > bugs. Returning a value is easier for the compiler to check and easier to > pass around the code flow. > > Convert the two bools into flags and push the change to all callers. > > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>