XArray tests: Add missing locking
authorMatthew Wilcox <willy@infradead.org>
Mon, 19 Nov 2018 14:36:29 +0000 (09:36 -0500)
committerMatthew Wilcox <willy@infradead.org>
Mon, 19 Nov 2018 14:41:11 +0000 (09:41 -0500)
commitfffc9a260e38acec3187515738122a3ecb24ac90
treec8d19d24150f0aa3cb6afdde8f925dd2215125bb
parent25bbe21bf427a81b8e3ccd480ea0e1d940256156
XArray tests: Add missing locking

Lockdep caught me being sloppy in the test suite and failing to lock
the XArray appropriately.

Reported-by: kernel test robot <rong.a.chen@intel.com>
Signed-off-by: Matthew Wilcox <willy@infradead.org>
lib/test_xarray.c