[stgt] [PATCH] iscsi: add clear_task_in_scsi
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Fri Jun 12 05:57:51 CEST 2009
Oops, I overlooked clear_task_in_scsi() is used in the third patch.
=
From: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Subject: [PATCH] iscsi: add clear_task_in_scsi
Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
---
usr/iscsi/iscsid.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/usr/iscsi/iscsid.h b/usr/iscsi/iscsid.h
index f90e0e9..7897c41 100644
--- a/usr/iscsi/iscsid.h
+++ b/usr/iscsi/iscsid.h
@@ -252,6 +252,7 @@ enum task_flags {
#define task_pending(t) ((t)->flags & (1 << TASK_pending))
#define set_task_in_scsi(t) ((t)->flags |= (1 << TASK_in_scsi))
+#define clear_task_in_scsi(t) ((t)->flags &= ~(1 << TASK_in_scsi))
#define task_in_scsi(t) ((t)->flags & (1 << TASK_in_scsi))
extern int lld_index;
--
1.6.0.6
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list