Re: [PATCH 1/2 v5] block/throttle: remove redundant type transition

2012-11-02 Thread Vivek Goyal
On Fri, Nov 02, 2012 at 05:31:36PM +0800, Robin Dong wrote: > From: Robin Dong > > We don't need to convert tg to blkg and then convert it back in > throtl_update_dispatch_stats(). > > Signed-off-by: Robin Dong > --- Looks good to me. Acked-by: Vivek Goyal Vivek > block/blk-throttle.c |

[PATCH 1/2 v5] block/throttle: remove redundant type transition

2012-11-02 Thread Robin Dong
From: Robin Dong We don't need to convert tg to blkg and then convert it back in throtl_update_dispatch_stats(). Signed-off-by: Robin Dong --- block/blk-throttle.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/block/blk-throttle.c b/block/blk-throttle.c index a