Bjorn Helgaas 66f1207bce resources: add interfaces that return conflict information
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@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-03-23 13:33:50 -07:00
..
2010-03-03 14:07:57 -05:00
2010-02-03 10:21:57 +11:00
2010-03-12 15:52:40 -08:00
2010-02-10 17:47:17 -08:00
2010-02-26 08:20:46 +01:00
2010-03-06 11:26:32 -08:00
2010-03-06 11:26:33 -08:00
2010-03-12 15:52:32 -08:00
2010-03-12 15:52:32 -08:00
2010-03-12 15:53:10 -08:00
2010-02-18 14:30:18 -08:00
2010-03-06 11:26:23 -08:00
2010-01-21 13:40:18 +01:00