scsi: target/iscsi: Rename a function and a function pointer
Having both a function and a function pointer member with the same name (iscsit_release_cmd) is confusing. Hence rename the function pointer member. Cc: Nicholas Bellinger <nab@linux-iscsi.org> Cc: Mike Christie <mchristi@redhat.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.de> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
0300b1147e
commit
1e65cc1631
@@ -760,8 +760,8 @@ void __iscsit_free_cmd(struct iscsi_cmd *cmd, bool check_queues)
|
||||
iscsit_remove_cmd_from_response_queue(cmd, conn);
|
||||
}
|
||||
|
||||
if (conn && conn->conn_transport->iscsit_release_cmd)
|
||||
conn->conn_transport->iscsit_release_cmd(conn, cmd);
|
||||
if (conn && conn->conn_transport->iscsit_unmap_cmd)
|
||||
conn->conn_transport->iscsit_unmap_cmd(conn, cmd);
|
||||
}
|
||||
|
||||
void iscsit_free_cmd(struct iscsi_cmd *cmd, bool shutdown)
|
||||
|
Reference in New Issue
Block a user