diff options
author | Matthew Wilcox <willy@infradead.org> | 2019-01-02 21:57:03 +0300 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2019-01-07 06:12:58 +0300 |
commit | b0606fed6eece16a421034eca0bbea9a08b90e91 (patch) | |
tree | f705b58760a60fce2d6f03a934a5038154505c1b /lib/interval_tree.c | |
parent | 76b4e52995654af260f14558e0e07b5b039ae202 (diff) | |
download | linux-b0606fed6eece16a421034eca0bbea9a08b90e91.tar.xz |
XArray: Honour reserved entries in xa_insert
xa_insert() should treat reserved entries as occupied, not as available.
Also, it should treat requests to insert a NULL pointer as a request
to reserve the slot. Add xa_insert_bh() and xa_insert_irq() for
completeness.
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'lib/interval_tree.c')
0 files changed, 0 insertions, 0 deletions