X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=block%2Fblk-throttle.c;h=0475a22a420dfb09d34ba51698e8b2a07f391b32;hb=a664ec9675d77aa2196e797afa5516d3e476da77;hp=5352bdafbcf0fe6dcf761e6c1f4f36b12492f64e;hpb=73939bb56acef1c9e776a10f0aeea0456d6815f6;p=~andy%2Flinux diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 5352bdafbcf..0475a22a420 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c @@ -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 { @@ -916,7 +916,7 @@ static void throtl_update_blkio_group_common(struct throtl_data *td, /* * For all update functions, key should be a valid pointer because these * update functions are called under blkcg_lock, that means, blkg is - * valid and in turn key is valid. queue exit path can not race becuase + * valid and in turn key is valid. queue exit path can not race because * of blkcg_lock * * Can not take queue lock in update functions as queue lock under blkcg_lock