scsi: target: convert boolean se_dev_attrib types to bool
[sfrench/cifs-2.6.git] / drivers / target / target_core_tmr.c
index feeba3966617bffed5f0e06ced6c8575a2df1e5f..afbd492c76a9e38a3b0ca9409d18f193c0b672c2 100644 (file)
@@ -78,7 +78,7 @@ static int target_check_cdb_and_preempt(struct list_head *list,
 }
 
 static bool __target_check_io_state(struct se_cmd *se_cmd,
-                                   struct se_session *tmr_sess, int tas)
+                                   struct se_session *tmr_sess, bool tas)
 {
        struct se_session *sess = se_cmd->se_sess;
 
@@ -251,7 +251,7 @@ static void core_tmr_drain_state_list(
        struct se_device *dev,
        struct se_cmd *prout_cmd,
        struct se_session *tmr_sess,
-       int tas,
+       bool tas,
        struct list_head *preempt_and_abort_list)
 {
        LIST_HEAD(drain_task_list);
@@ -334,7 +334,7 @@ int core_tmr_lun_reset(
        struct se_node_acl *tmr_nacl = NULL;
        struct se_portal_group *tmr_tpg = NULL;
        struct se_session *tmr_sess = NULL;
-       int tas;
+       bool tas;
         /*
         * TASK_ABORTED status bit, this is configurable via ConfigFS
         * struct se_device attributes.  spc4r17 section 7.4.6 Control mode page