Re: [PATCH 1/4 v2] btrfs: tests: add separate stub for find_lock_delalloc_range

2018-09-17 Thread Omar Sandoval
On Fri, Sep 14, 2018 at 06:38:44PM +0200, David Sterba wrote: > The helper find_lock_delalloc_range is now conditionally built static, > dpending on whether the self-tests are enabled or not. There's a macro > that is supposed to hide the export, used only once. To discourage > further use, drop

[PATCH 1/4 v2] btrfs: tests: add separate stub for find_lock_delalloc_range

2018-09-14 Thread David Sterba
The helper find_lock_delalloc_range is now conditionally built static, dpending on whether the self-tests are enabled or not. There's a macro that is supposed to hide the export, used only once. To discourage further use, drop it an add a public wrapper for the helper needed by tests.