diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2015-06-11 18:17:24 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2015-07-07 14:54:48 +0200 |
commit | 03fcab38617ac9bcd6ed28cb1b6a0ecd8fb3bc82 (patch) | |
tree | 5b0b54886d5387ef9a2b9a58b3de3b163146307f /target-cris/cpu.h | |
parent | 632e3a5cd812d6bbd38fd2f3ffc189ff5ea51926 (diff) |
Allow rdma_delete_block to work without the hash
In the next patch we remove the hash on the destination,
rdma_delete_block does two things with the hash which can be avoided:
a) The caller passes the offset and rdma_delete_block looks it up
in the hash; fixed by getting the caller to pass the block
b) The hash gets recreated after deletion; fixed by making that
conditional on the hash being initialised.
While this function is currently only used during cleanup, Michael
asked that we keep it general for future dynamic block registration
work.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'target-cris/cpu.h')
0 files changed, 0 insertions, 0 deletions