• C
    target: make ->shutdown_session optional · 22d11759
    Christoph Hellwig 提交于
    Turns out the template and thus many drivers got the return value wrong:
    0 means the fabrics driver needs to put a session reference, which no
    driver except for the iSCSI target drivers did.  Fortunately none of these
    drivers supports explicit Node ACLs, so the bug was harmless.
    
    Even without that only qla2xxx and iscsi every did real work in
    shutdown_session, so get rid of the boilerplate code in all other
    drivers.
    Signed-off-by: NChristoph Hellwig <hch@lst.de>
    Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
    22d11759
f_tcm.c 56.0 KB