1
0
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:
Zdenek Kabelac 2012-02-23 22:36:56 +00:00
parent b83e114008
commit 980cf7959c

View File

@ -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)