diff options
| author | Bjorn Helgaas <[email protected]> | 2010-03-12 00:01:09 +0000 |
|---|---|---|
| committer | Jesse Barnes <[email protected]> | 2010-03-23 20:33:50 +0000 |
| commit | 66f1207bce10fd80ee8ce99b67d617644612f05e (patch) | |
| tree | 3031bb74dce8c54af69dcd4aa7e566f40a5511ce /lib/debugobjects.c | |
| parent | PCI: cleanup error return for pcix get and set mmrbc functions (diff) | |
| download | kernel-66f1207bce10fd80ee8ce99b67d617644612f05e.tar.gz kernel-66f1207bce10fd80ee8ce99b67d617644612f05e.zip | |
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 <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
