summaryrefslogtreecommitdiff
path: root/sysutils/brasero/files/patch-libbrasero-media_scsi-cam.c
blob: 74f10adc0ea461e06f11a73ac0a1b750d546b7b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- libbrasero-media/scsi-cam.c.orig	2012-02-11 21:16:20.000000000 -0500
+++ libbrasero-media/scsi-cam.c	2012-02-11 21:17:13.000000000 -0500
@@ -103,6 +103,10 @@ brasero_scsi_command_issue_sync (gpointe
 	else if (cmd->info->direction & BRASERO_SCSI_WRITE)
 		direction = CAM_DIR_OUT;
 
+	if (size == 0)
+		direction = CAM_DIR_NONE;
+	direction |= CAM_DEV_QFRZDIS;
+
 	g_assert (direction > -1);
 
 	cam_fill_csio(&cam_ccb.csio,