From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751952AbcEJUoj (ORCPT ); Tue, 10 May 2016 16:44:39 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:35398 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751325AbcEJUoh (ORCPT ); Tue, 10 May 2016 16:44:37 -0400 Date: Tue, 10 May 2016 16:44:35 -0400 From: Tejun Heo To: Paolo Valente Cc: Jens Axboe , 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-cloning functions Message-ID: <20160510204435.GN7110@mtj.duckdns.org> References: <1462911821-7354-1-git-send-email-paolo.valente@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1462911821-7354-1-git-send-email-paolo.valente@linaro.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 10, 2016 at 10:23:41PM +0200, Paolo Valente wrote: > diff --git a/include/linux/bio.h b/include/linux/bio.h > index 6b7481f..a9ff116 100644 > --- a/include/linux/bio.h > +++ b/include/linux/bio.h > @@ -527,11 +527,13 @@ extern unsigned int bvec_nr_vecs(unsigned short idx); > int bio_associate_blkcg(struct bio *bio, struct cgroup_subsys_state *blkcg_css); > int bio_associate_current(struct bio *bio); > void bio_disassociate_task(struct bio *bio); > +void bio_clone_blkcg_association(struct bio *dst, struct bio *src); > #else /* CONFIG_BLK_CGROUP */ > static inline int bio_associate_blkcg(struct bio *bio, > struct cgroup_subsys_state *blkcg_css) { return 0; } > static inline int bio_associate_current(struct bio *bio) { return -ENOENT; } > static inline void bio_disassociate_task(struct bio *bio) { } > +void bio_clone_blkcg_association(struct bio *dst, struct bio *src) { return 0; } ^ static inline -- tejun