scsi_free_command

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

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.

AUTHORS

James Bottomley <James.Bottomley@hansenpartnership.com>

Author.

Rob Landley <rob@landley.net>

Author.