diff options
author | Wei Yang <weiyang@linux.vnet.ibm.com> | 2012-04-26 15:32:55 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-05-07 10:58:57 -0600 |
commit | 74d24b219bc4ebb20b75d63af2bb577bc1b10b5e (patch) | |
tree | d6653a2d125e0bbde0c14aa17c54dcfe8c944f34 /include/rxrpc | |
parent | 1267b3a325f00291e847ea4a001ccabe5d5516f2 (diff) | |
download | op-kernel-dev-74d24b219bc4ebb20b75d63af2bb577bc1b10b5e.zip op-kernel-dev-74d24b219bc4ebb20b75d63af2bb577bc1b10b5e.tar.gz |
resources: add resource_overlaps()
Add resource_overlaps(), which returns true if two resources overlap at all.
Use this to replace the complicated check in coalesce_windows().
Signed-Off-By: Wei Yang <weiyang@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/rxrpc')
0 files changed, 0 insertions, 0 deletions