]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: tests: add locks around add_extent_mapping
authorDavid Sterba <dsterba@suse.com>
Wed, 3 Apr 2019 17:32:56 +0000 (19:32 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 1 Jul 2019 11:35:03 +0000 (13:35 +0200)
commiteb9806fe66042a94ef5a90c2a47c222d3a21d17a
tree7f4c55fe8e2db5740effb5999ed72dc3a7020209
parent1fd2b48f533d21dde7dd8c20c034148175b6a1f4
btrfs: tests: add locks around add_extent_mapping

There are no concerns about locking during the selftests so the locks
are not necessary, but following patches will add lockdep assertions to
add_extent_mapping so this is needed in tests too.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tests/extent-map-tests.c