1
0
Fork 0

dm raid: make raid_sets symbol static

Fixes the following sparse warning:

drivers/md/dm-raid.c:33:1: warning:
 symbol 'raid_sets' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
hifive-unleashed-5.1
Wei Yongjun 2018-01-02 06:18:10 +00:00 committed by Mike Snitzer
parent 0e696d385d
commit 67ac901c55
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
#define MIN_RAID456_JOURNAL_SPACE (4*2048)
/* Global list of all raid sets */
LIST_HEAD(raid_sets);
static LIST_HEAD(raid_sets);
static bool devices_handle_discard_safely = false;