---
name: "scsi_eh_restore_cmnd"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/scsi_eh_restore_cmnd"
---

# scsi\_eh\_restore\_cmnd(9)

Restore a scsi command info as part of error recovery

## NAME

scsi\_eh\_restore\_cmnd - Restore a scsi command info as part of error recovery

## SYNOPSIS

**void scsi\_eh\_restore\_cmnd(struct scsi\_cmnd \*** *scmd***, struct scsi\_eh\_save \*** *ses***);**

## ARGUMENTS

*scmd*

SCSI command structure to restore

*ses*

saved information from a coresponding call to scsi\_eh\_prep\_cmnd

## DESCRIPTION

Undo any damage done by above **scsi\_eh\_prep\_cmnd**.

## AUTHORS

**James Bottomley** \<James.Bottomley@hansenpartnership.com\>

Author.

**Rob Landley** \<rob@landley.net\>

Author.

## COPYRIGHT
