From: Bjorn Helgaas Date: Fri, 12 Mar 2010 00:01:09 +0000 (-0700) Subject: resources: add interfaces that return conflict information X-Git-Tag: v2.6.34-rc3~18^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66f1207bce10fd80ee8ce99b67d617644612f05e;p=pandora-kernel.git 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 Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed