diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2018-11-19 10:38:16 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-12-17 14:51:37 +0100 |
commit | f8f591df7d725e3b1ea97e13ac830791b7c4a038 (patch) | |
tree | 94066b9812170c6c315af29cfea1830199fea6ad /lib/ucmpdi2.c | |
parent | e9a05cf31bf1821a5885440dd0d27aca2a3dc324 (diff) | |
download | linux-f8f591df7d725e3b1ea97e13ac830791b7c4a038.tar.gz linux-f8f591df7d725e3b1ea97e13ac830791b7c4a038.tar.bz2 linux-f8f591df7d725e3b1ea97e13ac830791b7c4a038.zip |
btrfs: introduce EXPORT_FOR_TESTS macro
Depending on whether CONFIG_BTRFS_FS_RUN_SANITY_TESTS is set, some BTRFS
functions are either local to the file they are implemented in and thus
should be declared static or are called from within the test
implementation defined in a different file.
Introduce an EXPORT_FOR_TESTS macro which depending on
CONFIG_BTRFS_FS_RUN_SANITY_TESTS either adds the 'static' keyword to a
function or not.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'lib/ucmpdi2.c')
0 files changed, 0 insertions, 0 deletions