blk-throttle: don't call xchg on bool
[deliverable/linux.git] / block / blk-throttle.c
index 5352bdafbcf0fe6dcf761e6c1f4f36b12492f64e..6c98cfeeedf0e385799130dc8ede25cc1fa09c27 100644 (file)
@@ -77,7 +77,7 @@ struct throtl_grp {
        unsigned long slice_end[2];
 
        /* Some throttle limits got updated for the group */
-       bool limits_changed;
+       int limits_changed;
 };
 
 struct throtl_data
@@ -102,7 +102,7 @@ struct throtl_data
        /* Work for dispatching throttled bios */
        struct delayed_work throtl_work;
 
-       bool limits_changed;
+       int limits_changed;
 };
 
 enum tg_state_flags {
This page took 0.026331 seconds and 5 git commands to generate.