From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:54190 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750913AbcEIOTg (ORCPT ); Mon, 9 May 2016 10:19:36 -0400 From: Jeff Moyer To: Paolo Valente Cc: Jens Axboe , Tejun Heo , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, ulf.hansson@linaro.org, linus.walleij@linaro.org, broonie@kernel.org, stable@vger.kernel.org Subject: Re: [PATCH BUGFIX] block: add missing group association in bio_split References: <1462567512-3007-1-git-send-email-paolo.valente@linaro.org> Date: Mon, 09 May 2016 10:19:33 -0400 In-Reply-To: <1462567512-3007-1-git-send-email-paolo.valente@linaro.org> (Paolo Valente's message of "Fri, 6 May 2016 22:45:12 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain Sender: stable-owner@vger.kernel.org List-ID: Paolo Valente writes: > @@ -1811,6 +1811,11 @@ struct bio *bio_split(struct bio *bio, int sectors, > > bio_advance(bio, split->bi_iter.bi_size); > > +#ifdef CONFIG_BLK_CGROUP > + if (bio->bi_css) > + bio_associate_blkcg(split, bio->bi_css); > +#endif > + > return split; > } > EXPORT_SYMBOL(bio_split); Get rid of the #ifdefery. This should be just: bio_associate_blkcg(split, bio->bi_css); Cheers, Jeff