/* Lock managers call this function to determine when it is OK for them to answer ordinary lock requests, and when they should accept only lock reclaims.  */
int locks_in_grace(void)
/* Lock managers call this function to determine when it is OK for them to answer ordinary lock requests, and when they should accept only lock reclaims.  */
int locks_in_grace(void)
{
	return !list_empty(&grace_list);
}