Skip to content
  • Akinobu Mita's avatar
    target/rd: reduce code duplication in rd_execute_rw() · 6766cc81
    Akinobu Mita authored
    
    
    Factor out code duplication in rd_execute_rw() into a helper function
    rd_do_prot_rw().  This change is required to minimize the forthcoming
    fix in rd_do_prot_rw().
    
    (Fix up v4.1 for-next fuzz - nab)
    
    Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
    Cc: Sagi Grimberg <sagig@dev.mellanox.co.il>
    Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
    Cc: target-devel@vger.kernel.org
    Cc: linux-scsi@vger.kernel.org
    Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    6766cc81