Re: [PATCH v1 1/3] resources: add interfaces that return conflictinformation

From: Jesse Barnes
Date: Fri Mar 19 2010 - 16:46:12 EST


On Thu, 11 Mar 2010 17:01:09 -0700
Bjorn Helgaas <bjorn.helgaas@xxxxxx> wrote:

>
> request_resource() and insert_resource() only return success or failure,
> which no information about what existing resource conflicted with the
> proposed new reservation. This patch adds request_resource_conflict()
> and insert_resource_conflict(), which return the conflicting resource.
>
> Callers may use this for better error messages or to adjust the new
> resource and retry the request.
>
> Signed-off-by: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
> ---
>

Applied this series to my for-linus branch, thanks.

--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/