1. NAME▲

scsi_free_command - free a command allocated by scsi_allocate_command

2. SYNOPSIS ▲

void scsi_free_command(gfp_t  gfp_mask , struct scsi_cmnd *  cmd );

3. ARGUMENTS ▲

gfp_mask
    mask used in the original allocation

cmd
    command to free

4. NOTE ▲

using the original allocation mask is vital because thatAqs what determines which command pool we use to free the command. Any mismatch will cause the system to BUG eventually.

5. AUTHORS ▲

James Bottomley <>
    Author.

Rob Landley <>
    Author.

6. COPYRIGHT ▲