kfusd/kfusd.c
static void fusd_forge_close(fusd_msg_t *msg, fusd_dev_t *fusd_dev)
{
	RDEBUG(2, "/dev/%s tried to complete an open for transid %ld, "
	          "forging a close", NAME(fusd_dev), msg->parm.fops_msg.transid);
	msg->cmd = FUSD_FOPS_CALL_DROPREPLY;
	msg->subcmd = FUSD_CLOSE;
	msg->parm.fops_msg.transid = atomic_inc_and_ret(&last_transid);
	send_to_dev(fusd_dev, msg, 1);
}
/* 
 * special case: if the driver sent back a successful "open", but
 * there is no file that is actually open, we forge a "close" so that
 * the driver can maintain balanced open/close pairs.  We put calls to
 * this in fusd_fops_reply, when the reply first comes in; and,
 * free_fusd_file, when we throw away a reply that had been
 * pending for a restart.
 */
special case: if the driver sent back a successful "open", but
there is no file that is actually open, we forge a "close" so that
the driver can maintain balanced open/close pairs.  We put calls to
this in fusd_fops_reply, when the reply first comes in; and,
free_fusd_file, when we throw away a reply that had been
pending for a restart.
special case : if the driver sent back a successful " open " but there is no file that is actually open we forge a " close " so that the driver can maintain balanced open / close pairs . We put calls to this in fusd_fops_reply when the reply first comes in ; and free_fusd_file when we throw away a reply that had been pending for a restart .
static void fusd_forge_close(fusd_msg_t *msg, fusd_dev_t *fusd_dev)
{
	RDEBUG(2, "/dev/%s tried to complete an open for transid %ld, "
	          "forging a close", NAME(fusd_dev), msg->parm.fops_msg.transid);
	msg->cmd = FUSD_FOPS_CALL_DROPREPLY;
	msg->subcmd = FUSD_CLOSE;
	msg->parm.fops_msg.transid = atomic_inc_and_ret(&last_transid);
	send_to_dev(fusd_dev, msg, 1);
}
static void fusd_forge_close ( fusd_msg_t * msg , fusd_dev_t * fusd_dev ) { RDEBUG ( 2 , " " " " , NAME ( fusd_dev ) , msg -> parm . fops_msg . transid ) ; msg -> cmd = FUSD_FOPS_CALL_DROPREPLY ; msg -> subcmd = FUSD_CLOSE ; msg -> parm . fops_msg . transid = atomic_inc_and_ret ( & last_transid ) ; send_to_dev ( fusd_dev , msg , 1 ) ; }
special case: if the driver sent back a successful "open", but
 there is no file that is actually open, we forge a "close" so that
 the driver can maintain balanced open/close pairs.
special case : if the driver sent back a successful " open " but there is no file that is actually open we forge a " close " so that the driver can maintain balanced open / close pairs .