From 6f228ecb712ef804ac61ea9521e66fe727ef957c Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Mon, 27 Feb 2012 22:59:10 +0000 Subject: [PATCH] Correct misleading SCST_CMD_ABORTED description. Noticed by Bart Van Assche git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4148 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scst/include/scst.h b/scst/include/scst.h index 5c3102912..c9647c1d8 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -494,7 +494,14 @@ enum scst_exec_context { ** Cmd's async (atomic) flags *************************************************************/ -/* Set if the cmd is aborted and ABORTED sense will be sent as the result */ +/* + * Set if the cmd is aborted and should be unconditionally finished + * as soon as possible. + * + * !! Direct check of this bit must not be done anywhere outside of !! + * !! SCST core! Use the corresponding helper functions listed below !! + * !! for that! !! + */ #define SCST_CMD_ABORTED 0 /* Set if the cmd is aborted by other initiator */