Name
scsi_free_command —
free a command allocated by scsi_allocate_command
Synopsis
void scsi_free_command ( | gfp_t gfp_mask, |
| struct scsi_cmnd * cmd) ; |
Arguments
gfp_mask
mask used in the original allocation
cmd
command to free
Note
using the original allocation mask is vital because that's
what determines which command pool we use to free the command. Any
mismatch will cause the system to BUG eventually.