commit | 5806f07cd2c32920d5105e0f9ff3117338f34eec | [log] [tgz] |
---|---|---|
author | Jeff Mahoney <jeffm@suse.com> | Mon Jun 26 00:27:19 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Jun 26 09:58:34 2006 -0700 |
tree | 65242ea629a19308656a3090fee6b513dfa0f723 | |
parent | c51c2752491e5e771de6c8861a85ba46752d7888 [diff] |
[PATCH] lib: add idr_replace This patch adds idr_replace() to replace an existing pointer in a single operation. Device-mapper will use this to update the pointer it stored against a given id. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>