]> git.baikalelectronics.ru Git - kernel.git/commit
idr test suite: Create anchor before launching throbber
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 1 Apr 2021 11:46:49 +0000 (07:46 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 1 Apr 2021 11:50:19 +0000 (07:50 -0400)
commitcffadd76fbfaefc4242870d8a730a9edd8717a65
treee6b15a6235168d002fe515f9f5dd1754cdd2b149
parent70cff446635cc673f8cac7c28e7dfd963d7b7764
idr test suite: Create anchor before launching throbber

The throbber could race with creation of the anchor entry and cause the
IDR to have zero entries in it, which would cause the test to fail.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
tools/testing/radix-tree/idr-test.c