diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2013-09-14 10:00:20 +0000 |
|---|---|---|
| committer | Alexander Motin <mav@FreeBSD.org> | 2013-09-14 10:00:20 +0000 |
| commit | 627cb4aec93d9c19e574d74ebb3dd969af34f608 (patch) | |
| tree | b16afe2e379443783710c71be6f7fe7d2695f802 /share/examples | |
| parent | bee4a1529fad1eb27b9dd98e98dbd820be0a668d (diff) | |
Notes
Diffstat (limited to 'share/examples')
| -rw-r--r-- | share/examples/scsi_target/scsi_target.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/share/examples/scsi_target/scsi_target.c b/share/examples/scsi_target/scsi_target.c index e3a369c0c467..511f5cda033c 100644 --- a/share/examples/scsi_target/scsi_target.c +++ b/share/examples/scsi_target/scsi_target.c @@ -371,7 +371,7 @@ init_ccbs() for (i = 0; i < MAX_INITIATORS; i++) { struct ccb_accept_tio *atio; struct atio_descr *a_descr; - struct ccb_immed_notify *inot; + struct ccb_immediate_notify *inot; atio = (struct ccb_accept_tio *)malloc(sizeof(*atio)); if (atio == NULL) { @@ -388,7 +388,7 @@ init_ccbs() atio->ccb_h.targ_descr = a_descr; send_ccb((union ccb *)atio, /*priority*/1); - inot = (struct ccb_immed_notify *)malloc(sizeof(*inot)); + inot = (struct ccb_immediate_notify *)malloc(sizeof(*inot)); if (inot == NULL) { warn("malloc INOT"); return (-1); @@ -599,7 +599,7 @@ handle_read() oo += run_queue(c_descr->atio); break; } - case XPT_IMMED_NOTIFY: + case XPT_IMMEDIATE_NOTIFY: /* INOTs are handled with priority */ TAILQ_INSERT_HEAD(&work_queue, &ccb->ccb_h, periph_links.tqe); @@ -909,7 +909,7 @@ free_ccb(union ccb *ccb) case XPT_ACCEPT_TARGET_IO: free(ccb->ccb_h.targ_descr); /* FALLTHROUGH */ - case XPT_IMMED_NOTIFY: + case XPT_IMMEDIATE_NOTIFY: default: free(ccb); break; |
