Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp113523ybg; Mon, 8 Jun 2020 17:59:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzafBW2itCYf/6Qj7hzUsQF8+Dc3r27njwk7+YtY+hEpNRqYfLh0H+1G9NlrJa4dp0ByQ/P X-Received: by 2002:a17:906:39a:: with SMTP id b26mr24158753eja.204.1591664386761; Mon, 08 Jun 2020 17:59:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591664386; cv=none; d=google.com; s=arc-20160816; b=BnqNQ0QS80Fn2cpIW363sROxO/A82XX5u7prZu0jt5ulPGva0O3mqUYStXAlhn/wVg AQLFaNu0d8avzjji1EQgVgxvJmbHIFxPwD5tLx5GGJ9F7lLvD5hBm9SkKru4Sh8W9P8w lDGEP2QkgyfBPl/ZjNWVZMvka52Y/NvAEdTAkqm/gyjcMceQNkdth4jefqGDYUa+f/88 YynAJy5ckDYoW4gBh5FKADpRmJoF7dnANDw1GDAkWzEWV7EEHPRr6hVktzK7dp82hxjq d7hPmW6r1YL6bi/O3dDyrlzUwm76es3G78FK3KBiWVjkH67docLmri9U1j5j4eO52Rzo OchQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mbucmHr3bPeeJ8mDw8HjEklqucqK5d7WJWF25Gg7WRI=; b=eDKGHgaqlVvHc7syWoRZebo7lCgIh21qll8pLyzLbOe3vfviHQdOFp+EjIf/lAzqAJ 0QIjKiV4+FzjSrMi7XmYYb0frStr7+g7/SllEURquFdrOJPuXSd7TxLacYV7KcJsji3U rlKNuEcFEFDTjcXxdjLdHxJGG4u4LO9QiAM943/FHgUSQl+RjA+92Tk1+GPcZpBSjXCz 7OtUnN8F6ma5BO4c+BqW1xhMk17EARB2P9hfalTsb8j/+NQY0QRaMFnaIWuaXAulM7u3 i+kfwhNgerUA+7pLiDWUT6yBXiFDCrEpn7DPzXMQfJSyIZh0MDh1GbhpkCtYu/HG6AVb 18/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AQ6VfoPo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qh23si9537219ejb.351.2020.06.08.17.59.23; Mon, 08 Jun 2020 17:59:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AQ6VfoPo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388063AbgFIA5g (ORCPT + 99 others); Mon, 8 Jun 2020 20:57:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:54374 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728262AbgFHXIu (ORCPT ); Mon, 8 Jun 2020 19:08:50 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 10950208C7; Mon, 8 Jun 2020 23:08:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591657729; bh=SWWGoQsVVAyjX/AN81bixPfF8lDzZ/UMYuq0YgzmvUs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AQ6VfoPodepn32on6YldBsZakXGLZ2rsGgt+KUpcALeqGTla3c5h7X27iXe1pRgX9 IUAdDgHjyhtv0B7Q/S0VHWx6gNfoaACjo47k9SuR8TE+dK5fT9TtywEPDdCU5x5jkp WHCHsT4To1unWZq44INcFyBVd3Ev/KOIw67IkCB0= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Christoph Hellwig , Jens Axboe , Sasha Levin , linux-bcache@vger.kernel.org Subject: [PATCH AUTOSEL 5.7 121/274] bcache: remove a duplicate ->make_request_fn assignment Date: Mon, 8 Jun 2020 19:03:34 -0400 Message-Id: <20200608230607.3361041-121-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200608230607.3361041-1-sashal@kernel.org> References: <20200608230607.3361041-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christoph Hellwig [ Upstream commit a91b2014fc31dc6eaa02ca33aa3b4d1b6e4a0207 ] The make_request_fn pointer should only be assigned by blk_alloc_queue. Fix a left over manual initialization. Fixes: ff27668ce809 ("bcache: pass the make_request methods to blk_queue_make_request") Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe Signed-off-by: Sasha Levin --- drivers/md/bcache/request.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/md/bcache/request.c b/drivers/md/bcache/request.c index 71a90fbec314..77d1a2697517 100644 --- a/drivers/md/bcache/request.c +++ b/drivers/md/bcache/request.c @@ -1372,7 +1372,6 @@ void bch_flash_dev_request_init(struct bcache_device *d) { struct gendisk *g = d->disk; - g->queue->make_request_fn = flash_dev_make_request; g->queue->backing_dev_info->congested_fn = flash_dev_congested; d->cache_miss = flash_dev_cache_miss; d->ioctl = flash_dev_ioctl; -- 2.25.1