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-12 15:53:10 -08:00
2010-03-01 15:11:32 -05:00
2010-03-12 15:52:32 -08:00
2009-11-04 09:50:58 -08:00
2010-03-07 22:17:09 +01:00
2010-03-02 12:23:42 +01:00
2010-03-02 12:23:49 +01:00
2010-03-12 15:52:40 -08:00
2010-03-12 15:52:36 -08:00
2010-03-12 15:52:40 -08:00
2010-03-12 15:53:10 -08:00
2010-03-12 15:53:10 -08:00
2010-03-12 15:52:38 -08:00
2010-03-12 15:52:28 -08:00
2010-03-12 15:53:10 -08:00
2010-03-12 15:53:11 -08:00
2010-03-05 00:20:31 +01:00
2010-03-12 15:52:44 -08:00
2010-03-02 14:28:49 -05:00
2010-03-12 15:53:10 -08:00
2010-03-12 15:52:43 -08:00
2010-03-02 11:39:15 +09:00
2010-03-12 15:52:44 -08:00
2010-03-02 03:05:05 -08:00
2010-03-12 15:52:36 -08:00