mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 04:34:08 +08:00
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>
This commit is contained in:
parent
0bb80ecc33
commit
40ddd6df93
@ -1589,5 +1589,5 @@ const struct target_core_fabric_ops iscsi_ops = {
|
||||
.tfc_tpg_nacl_auth_attrs = lio_target_nacl_auth_attrs,
|
||||
.tfc_tpg_nacl_param_attrs = lio_target_nacl_param_attrs,
|
||||
|
||||
.write_pending_must_be_called = true,
|
||||
.write_pending_must_be_called = 1,
|
||||
};
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user