mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Keep same sign for 's' counter
This commit is contained in:
parent
b83e114008
commit
980cf7959c
@ -596,7 +596,8 @@ static int _failed_mirrors_count(struct logical_volume *lv)
|
||||
|
||||
static int _failed_logs_count(struct logical_volume *lv)
|
||||
{
|
||||
int ret = 0, s;
|
||||
int ret = 0;
|
||||
unsigned s;
|
||||
struct logical_volume *log_lv = first_seg(lv)->log_lv;
|
||||
if (log_lv && (log_lv->status & PARTIAL_LV)) {
|
||||
if (log_lv->status & MIRRORED)
|
||||
|
Loading…
Reference in New Issue
Block a user