diff options
author | mav <mav@FreeBSD.org> | 2015-12-30 11:49:48 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-12-30 11:49:48 +0000 |
commit | a4b1c16e98e75f90d54e9dbd7a1fdb698da68539 (patch) | |
tree | 0fcf27a59b01a01e813ba2caf1be603f648ddbb9 /sys/dev/isp/isp_target.c | |
parent | d4b9f20402a6d7261e6e6d8ea2ea402a189c08d8 (diff) | |
download | FreeBSD-src-a4b1c16e98e75f90d54e9dbd7a1fdb698da68539.zip FreeBSD-src-a4b1c16e98e75f90d54e9dbd7a1fdb698da68539.tar.gz |
MFC r292725: Unify handles allocation for initiator and target IOCBs.
I am not sure why this was split long ago, but I see no reason for it.
At this point this unification just slightly reduces memory usage, but
as next step I plan to reuse shared handle space for other IOCB types.
Diffstat (limited to 'sys/dev/isp/isp_target.c')
-rw-r--r-- | sys/dev/isp/isp_target.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_target.c b/sys/dev/isp/isp_target.c index c6e48fe..c6af888 100644 --- a/sys/dev/isp/isp_target.c +++ b/sys/dev/isp/isp_target.c @@ -1094,7 +1094,7 @@ isp_handle_ctio2(ispsoftc_t *isp, ct2_entry_t *ct) char *fmsg = NULL; if (ct->ct_syshandle) { - xs = isp_find_xs_tgt(isp, ct->ct_syshandle); + xs = isp_find_xs(isp, ct->ct_syshandle); if (xs == NULL) { pl = ISP_LOGALL; } @@ -1249,7 +1249,7 @@ isp_handle_ctio7(ispsoftc_t *isp, ct7_entry_t *ct) char *fmsg = NULL; if (ct->ct_syshandle) { - xs = isp_find_xs_tgt(isp, ct->ct_syshandle); + xs = isp_find_xs(isp, ct->ct_syshandle); if (xs == NULL) { pl = ISP_LOGALL; } |