proto->cmnd_done(cmnd, result); cmnd->result = result;
static void cmnd_done(struct tgt_cmnd *cmnd, int result){	struct tgt_target *target = cmnd->session->target;	struct tgt_protocol *proto = target->proto;	void (*done)(struct tgt_cmnd *);	proto->cmnd_done(cmnd, result);	cmnd->result = result;	done = cmnd->done;	cmnd->done = NULL;	done(cmnd);}