Message ID | 20191127072124.30445-4-lee.jones@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp5735481ilf; Tue, 26 Nov 2019 23:21:59 -0800 (PST) X-Google-Smtp-Source: APXvYqz6khSOPi48IxAsr66KqUrZyPzSa1StoiG1Ta8FWMfnSCXgnygra0mHmrstKWtDmK3qmf3S X-Received: by 2002:a17:906:b5b:: with SMTP id v27mr47061039ejg.327.1574839319685; Tue, 26 Nov 2019 23:21:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574839319; cv=none; d=google.com; s=arc-20160816; b=TzIGy/kMaCaqvMrPJiwQdjE73kB0dZsMKUKl3Tlod4ji40sPuWmz8RlSRcOpqeI3iS JDeEstFKaJoZJLRGZqqpfBn7By+5J0Nn48GQcFZ2yvyO5CPlU1rwRt5rBtZ1p78s+dZL oJcRebqoO3IXkVmd2jmvKE0dI0mwpImbBVDV0qWc1Uauf1vS2tELkgE4sUZSDOym7Qn7 zi9C23elddBsTaIaqRMh23ms4+kqzY5us+OldIBvqz3RQTRDLpC12Erd4ZH4IkuCzpp+ 7X6PInXdrlVzDS4OOJ/pjKgjZMaBPBYXYWR8QCMJEG0ZmeryIQa9G7Nm7q6NABffuTKt cvhA== 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:to:from :dkim-signature; bh=3e3k1oohMwi/CIBzV4BTFHUMYD58PCHmDDNOIUgpFX8=; b=rn/cutjYTVAvsvTa75iKVKAYs9GLC/XFCSJ9TefHoJwk5CLCOBSsmIl/Zh/5tQlhEI E3rsGv40dyEYf0MtJ5BASMRGbppx71ty/f8suZ+JLUsuHmmuTm2QunnuZ2JzT0AZSB1P QXSCIyLGAt3SFRaycolT88vSq65VBvrpSyn/jUMyPGFnXY6BMra8R33qH/afoxnOY/S3 NdXWqdgMCNuD6++UgjHhGQ19Ifp7GXq5VfDdDgNr2tPs8WWwexwcrhI0k58kvulVu3zr 3hJZbSMNJ6p/Z+QBxvI37bzSL2CK1vO+tIZybJoUfFgrRAEaG9o3n24O7rKZ57CdVb1A ZBJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BwuanHBl; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m19si69058ejc.66.2019.11.26.23.21.59; Tue, 26 Nov 2019 23:21:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BwuanHBl; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726078AbfK0HVz (ORCPT <rfc822;ralph.siemsen@linaro.org> + 15 others); Wed, 27 Nov 2019 02:21:55 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:38977 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726260AbfK0HVz (ORCPT <rfc822;stable@vger.kernel.org>); Wed, 27 Nov 2019 02:21:55 -0500 Received: by mail-wr1-f68.google.com with SMTP id y11so22256258wrt.6 for <stable@vger.kernel.org>; Tue, 26 Nov 2019 23:21:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=3e3k1oohMwi/CIBzV4BTFHUMYD58PCHmDDNOIUgpFX8=; b=BwuanHBlSGiB0SMRYFVOhKBgOxnOH00qH53m8N+9VBllwChKBquiZU7plX/u/0yvvi 4zazPRC4PNpo6raGpYDymT2tzHhmKg0p7tFFjgDKCYls3FgoOKGxuCrCeZ8hnuC0JjLA i91EVRoHWCuPrx8DORatdFIEh9Xt5mo8daTgJjXB5p+IDEw1WUCNezFVzIM9Ws9F/AO8 y0myRl4GPXKxHS3QqENi/DlpTJSvg3Yo1n5tad5AyUlQlQXtKjabUBoTRDfJnj0f71jt ZwG/4dmE5zQnNJthKT5smA1Qeu1T3W/aymht1cjvpU2ChPqL8zThZKtUgLFdvT05X/eU D6fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3e3k1oohMwi/CIBzV4BTFHUMYD58PCHmDDNOIUgpFX8=; b=jyFSxIZP3ZQohAazwamGFtugak/ATiK+BlTu/hTZKt+uYUiSL0sItmg32EgO7GZCti 5L5guj1WrX9N5ReNZInoZIBAT2TRAE2KhS+iIlCMWEq86NgiFZx/rHDVu0KpHdrV6/13 bXRsSYdNqNKAH/hJfpRXzd0UrQjuFJpTqbcaH+ULG4PuZl2Al8Eg5jygYVDRXJul1A6M 4OxpF3U1g/XpdQ6Gm/PSNEqzi/7nBoRG25lD0ysv6HeVcYZVLzt/+w0f348LwtCwfS61 2YSsJHXthX5w/xBIJgDbJL4VL89tkLvNBEe1LSirBvh47bAAHZ2ABRiMBMtmpg3lHAdh 54Xg== X-Gm-Message-State: APjAAAVpr6NzSpuIhCqlUUFehue/e/PW+hKFtbgwYrwsk2mrYq2yOsR6 /QuSzZfT/UjhL+HCeFcHVu63qe9WTT0= X-Received: by 2002:a5d:438c:: with SMTP id i12mr19231296wrq.196.1574839311928; Tue, 26 Nov 2019 23:21:51 -0800 (PST) Received: from localhost.localdomain ([95.149.164.101]) by smtp.gmail.com with ESMTPSA id y6sm18151872wrn.21.2019.11.26.23.21.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 23:21:51 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: stable@vger.kernel.org Subject: [PATCH 4.4 4/6] dm: use blk_set_queue_dying() in __dm_destroy() Date: Wed, 27 Nov 2019 07:21:22 +0000 Message-Id: <20191127072124.30445-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191127072124.30445-1-lee.jones@linaro.org> References: <20191127072124.30445-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
[4.4,1/6] can: dev: can_dellink(): remove return at end of void function
|
expand
|
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 3d9a80759d95..c752c55f0bb2 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -2939,9 +2939,7 @@ static void __dm_destroy(struct mapped_device *md, bool wait) set_bit(DMF_FREEING, &md->flags); spin_unlock(&_minor_lock); - spin_lock_irq(q->queue_lock); - queue_flag_set(QUEUE_FLAG_DYING, q); - spin_unlock_irq(q->queue_lock); + blk_set_queue_dying(q); if (dm_request_based(md) && md->kworker_task) flush_kthread_worker(&md->kworker);