if ((cmd = ub_get_cmd(sc)) == NULL) 
if ((cmd = ub_get_cmd(lun)) == NULL) 
static int ub_bd_rq_fn_1(struct ub_dev *sc, struct request *rq){	struct ub_scsi_cmd *cmd;	int rc;	if (atomic_read(&sc->poison) || sc->changed) {		blkdev_dequeue_request(rq);		ub_end_rq(rq, 0);		return 0;	}	if ((cmd = ub_get_cmd(sc)) == NULL)		return -1;	memset(cmd, 0, sizeof(struct ub_scsi_cmd));	blkdev_dequeue_request(rq);	if (blk_pc_request(rq)) {		rc = ub_cmd_build_packet(sc, cmd, rq);	} else {		rc = ub_cmd_build_block(sc, cmd, rq);	}	if (rc != 0) {		ub_put_cmd(sc, cmd);		ub_end_rq(rq, 0);		blk_start_queue(sc->disk->queue);		return 0;	}	cmd->state = UB_CMDST_INIT;	cmd->done = ub_rw_cmd_done;	cmd->back = rq;	cmd->tag = sc->tagcnt++;	if ((rc = ub_submit_scsi(sc, cmd)) != 0) {		ub_put_cmd(sc, cmd);		ub_end_rq(rq, 0);		blk_start_queue(sc->disk->queue);		return 0;	}	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/f4800078d9ed4bd20b1b27f56e7b68cfa0d73038/ub.c/clean/drivers/block/ub.c