commit | 3502cad73c4bbf8f6365d539e814159275252c59 | [log] [tgz] |
---|---|---|
author | Tom Herbert <tom@herbertland.com> | Tue Dec 15 15:41:36 2015 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 15 23:25:20 2015 -0500 |
tree | bb60a4a72dbf04142d5279aef542f5ab367f1220 | |
parent | 33f11d16142b06588eedfc1dd8cf93790979a712 [diff] |
rhashtable: add function to replace an element Add the rhashtable_replace_fast function. This replaces one object in the table with another atomically. The hashes of the new and old objects must be equal. Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>