summaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-03-28 12:39:12 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-03-28 12:39:12 -0400
commitc5183ea57fc75205ea9d363cac4c5d6e4bb7cf38 (patch)
treea0b4f6b853303a5ccd850867390a4f1c50106886 /include/linux/overflow.h
parentf3cdace86c8b60a4efaced23b2d31c16dc610da9 (diff)
Heap code fix
When deleting an entry from a heap that was at entry h->used - 1, we'd end up calling heap_sift() on an entry outside the heap - the entry we just removed - which would end up re-adding it to the heap and deleting something we didn't want to delete. Oops... Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions