> + switch (sshdr.sense_key) {
> + case NOT_READY:
> + if ((sshdr.asc == 0x04) && (sshdr.ascq == 3)) {No need for the inner braces. Otherwise looks fine: Reviewed-by: Christoph Hellwig <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

