uint		 flags) 
uint		 flags, uint		 t_type) 
xfs_log_reserve(xfs_mount_t	 *mp,		int		 unit_bytes,		int		 cnt,		xfs_log_ticket_t *ticket,		__uint8_t	 client,		uint		 flags){	xlog_t		*log = mp->m_log;	xlog_ticket_t	*internal_ticket;	int		retval;#if defined(DEBUG) || defined(XLOG_NOLOG)	if (!xlog_debug && xlog_target == log->l_targ)		return 0;#endif	retval = 0;	ASSERT(client == XFS_TRANSACTION || client == XFS_LOG);	ASSERT((flags & XFS_LOG_NOSLEEP) == 0);	if (XLOG_FORCED_SHUTDOWN(log))		return XFS_ERROR(EIO);	XFS_STATS_INC(xs_try_logspace);	if (*ticket != NULL) {		ASSERT(flags & XFS_LOG_PERM_RESERV);		internal_ticket = (xlog_ticket_t *)*ticket;		xlog_grant_push_ail(mp, internal_ticket->t_unit_res);		retval = xlog_regrant_write_log_space(log, internal_ticket);	} else {		/* may sleep if need to allocate more tickets */		internal_ticket = xlog_ticket_get(log, unit_bytes, cnt,						  client, flags);		*ticket = internal_ticket;		xlog_grant_push_ail(mp,				    (internal_ticket->t_unit_res *				     internal_ticket->t_cnt));		retval = xlog_grant_log_space(log, internal_ticket);	}	return retval;}	/* xfs_log_reserve */
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7e9c63961558092d584936a874cf3fee80002eb6/xfs_log.c/buggy/fs/xfs/xfs_log.c