XLOG_TIC_RESET_RES(ticket); 
xlog_regrant_reserve_log_space(xlog_t	     *log,			       xlog_ticket_t *ticket){	SPLDECL(s);	xlog_trace_loggrant(log, ticket,			    "xlog_regrant_reserve_log_space: enter");	if (ticket->t_cnt > 0)		ticket->t_cnt--;	s = GRANT_LOCK(log);	XLOG_GRANT_SUB_SPACE(log, ticket->t_curr_res, 'w');	XLOG_GRANT_SUB_SPACE(log, ticket->t_curr_res, 'r');	ticket->t_curr_res = ticket->t_unit_res;	xlog_trace_loggrant(log, ticket,			    "xlog_regrant_reserve_log_space: sub current res");	xlog_verify_grant_head(log, 1);	/* just return if we still have some of the pre-reserved space */	if (ticket->t_cnt > 0) {		GRANT_UNLOCK(log, s);		return;	}	XLOG_GRANT_ADD_SPACE(log, ticket->t_unit_res, 'r');	xlog_trace_loggrant(log, ticket,			    "xlog_regrant_reserve_log_space: exit");	xlog_verify_grant_head(log, 0);	GRANT_UNLOCK(log, s);	ticket->t_curr_res = ticket->t_unit_res;}	/* xlog_regrant_reserve_log_space */
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7e9c63961558092d584936a874cf3fee80002eb6/xfs_log.c/buggy/fs/xfs/xfs_log.c