summaryrefslogtreecommitdiffstats
path: root/include/target/target_core_fabric.h
diff options
context:
space:
mode:
authorMike Christie <michael.christie@oracle.com>2023-09-27 21:09:00 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2023-10-13 15:53:57 -0400
commit40ddd6df93a359e5494424de5f8d730ffe7ac99a (patch)
tree0be474f63a5687c88ddbfa9d1805eeeac73a9185 /include/target/target_core_fabric.h
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
downloadlinux-stable-40ddd6df93a359e5494424de5f8d730ffe7ac99a.tar.gz
linux-stable-40ddd6df93a359e5494424de5f8d730ffe7ac99a.tar.bz2
linux-stable-40ddd6df93a359e5494424de5f8d730ffe7ac99a.zip
scsi: target: iscs: Make write_pending_must_be_called a bit field
Subsequent commits add more on/off type of settings to the target_core_fabric_ops struct so this makes write_pending_must_be_called a bit field instead of a bool to better organize the settings. Signed-off-by: Mike Christie <michael.christie@oracle.com> Link: https://lore.kernel.org/r/20230928020907.5730-1-michael.christie@oracle.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/target/target_core_fabric.h')
-rw-r--r--include/target/target_core_fabric.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/target/target_core_fabric.h b/include/target/target_core_fabric.h
index b188b1e90e1e..2a6c4c935666 100644
--- a/include/target/target_core_fabric.h
+++ b/include/target/target_core_fabric.h
@@ -113,11 +113,11 @@ struct target_core_fabric_ops {
struct configfs_attribute **tfc_tpg_nacl_param_attrs;
/*
- * Set this member variable to true if the SCSI transport protocol
+ * Set this member variable if the SCSI transport protocol
* (e.g. iSCSI) requires that the Data-Out buffer is transferred in
* its entirety before a command is aborted.
*/
- bool write_pending_must_be_called;
+ unsigned int write_pending_must_be_called:1;
};
int target_register_template(const struct target_core_fabric_ops *fo);