mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-09 01:18:39 +03:00
Debug log for hold_lock failure
This commit is contained in:
parent
73ef9a7eaa
commit
27088d51a2
@ -767,7 +767,8 @@ static int get_initial_state(struct dm_hash_table *excl_uuid)
|
||||
LCK_EXCL : LCK_READ;
|
||||
|
||||
DEBUGLOG("getting initial lock for %s\n", uuid);
|
||||
hold_lock(uuid, lock_mode, LCKF_NOQUEUE);
|
||||
if (hold_lock(uuid, lock_mode, LCKF_NOQUEUE))
|
||||
DEBUGLOG("Failed to hold lock %s\n", uuid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user