Message ID | 20191122105253.11375-6-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 g82csp64270ilf; Fri, 22 Nov 2019 03:14:31 -0800 (PST) X-Google-Smtp-Source: APXvYqwqxFxXJZnmEB1H2Vz+8ctcguTzeZEQiVyBiXYjey/1slDcmA/yKepOgEf2lg5bINdCHP30 X-Received: by 2002:a17:906:1ed7:: with SMTP id m23mr21098019ejj.326.1574421271397; Fri, 22 Nov 2019 03:14:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574421271; cv=none; d=google.com; s=arc-20160816; b=fg41vFNEP+WwN/FwyeeW6Ro+6UcFy86lWOuTIgkeqE9j02uuKu9bebxz8wtnSMrjUK un6BVLBtsegGSEL49i8bchWzOb2yPs0Y3HSJJoUBzbwlndtQ4d2bJPdkS3gOGNs9GB5P U5WMXmnjkUf7SGLXJZwQKAGRWHEg1bwX91R7Nu9oT3kvcKpwAlELcs9+NAgzDXdP34ta O+7YPP/c9sgLe0oxQphTbLCjlWiOjmpSXsLBuMwB53hzN/Xsyrja0ed0DpHFN3Ia48wS FuF+E684/D8dixL9iXruoUiCS9qHxvu0bUB0FD77U82j3n7hLDR5CQjnLrF2/gl3O4ba Qs7Q== 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=EwOfwwiNckMuQzPVj8mAR4X16hKKAPeuk3yKLlec5YI=; b=E9QmQAUJhFojVIBQWJqJRsxxh8jbz6l7NNCjeaoXpphNaYtz0imbMzKnR1QEaJakWO x9HBFjiAe5Z+x4pXqlYGF0l+MYdgRz+FbFSFH5QWWPKzhvASc/etCOX2XK2/7KRSge51 ndvZdy9LPdFCkUS1znSbmOdIxp1EW/B6q05h4F3ZTXvNp0JGSTS1MltcL0ME6YrmcSGq et4IjF0z8D2d4DnOXEEpO4/7lAr5zhR+308NoYaK+YWJKsCw6Y0JvHV+R2B09uXxhrCq lv0VqWY7fU2cnmVPY0zcc7SqVfx2nCLhihJJTtaG/bCKR1yC+Za5uKjjmH3m0juiiLjD ZAXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="XFjik6/1"; 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 h58si2037450eda.18.2019.11.22.03.14.30; Fri, 22 Nov 2019 03:14:31 -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="XFjik6/1"; 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 S1730216AbfKVKxc (ORCPT <rfc822;ralph.siemsen@linaro.org> + 15 others); Fri, 22 Nov 2019 05:53:32 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:40975 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730212AbfKVKxc (ORCPT <rfc822;stable@vger.kernel.org>); Fri, 22 Nov 2019 05:53:32 -0500 Received: by mail-wr1-f65.google.com with SMTP id b18so8033910wrj.8 for <stable@vger.kernel.org>; Fri, 22 Nov 2019 02:53:31 -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=EwOfwwiNckMuQzPVj8mAR4X16hKKAPeuk3yKLlec5YI=; b=XFjik6/1F5q/FGsLPzqx/WRNDDqb1Faj6Ianja2u99UxfAsl/WnAdQ9xhIVH6MzGTF JLUl3+TddRPpfgV04UK8uMETkYrgrayOWSWFbQKXbXVgKlVzYODlLllbDIn5pHI7c9oe sOkNvkge+4WwSw4pgriiWN1Rk15xZ3wdRt4XyhEwFtBOY+XFdDZckS2E4p2vjuVRwAWo 7UwIPECGHAif1f/3TuIlc/le5fA12pp+K2GM4xE3he/uEyb/K7+96osTjuA/Gvo6WRQf er/JgLv0JbJVUIG3fw8rEd+wyu22zefI9IWY5UGCH2McjnIWPfUqZQYxKtFoD/hg/CXx uEPA== 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=EwOfwwiNckMuQzPVj8mAR4X16hKKAPeuk3yKLlec5YI=; b=KHg//EYXlU6WvjYWZLyEDTyMvB71R4SwueVY7POuf2qv3GBHbPvn+OpFBsgnJqq6ka 5viGqQCFWmDf1+v3LO1QR69GK/8z7dDEAMG5Wjk/J4xC6Y/srN0pz2REg0L9KbtlSVAm zYI8hLH7oVzAjj9lhrs4C04wrt/hhLG1hOi6O8/d2shF+Tyj5AElSRJ5+q9NjFQSqfDJ TuzIO49kg7JeTqZ0ygZHkIg9IQpBBnhTkB+V7o/ngBeNVUOwReVRXAncLJx11ZzDjPE9 jL3RwEIaGaecHSVICT5HxCQbNKNmzyGXS9EecM7ocF7FwPeP/I+l975tspQWXocknykt 8Tpw== X-Gm-Message-State: APjAAAW8EjVJKWpHMvlGJDJjZfKmtJyWNTF9gKog8mY5F9XVHcVfBKMc bX5xtc+Rnj8N+9oX4KGx71/l/wkY+HM= X-Received: by 2002:a5d:4946:: with SMTP id r6mr9412090wrs.155.1574420010516; Fri, 22 Nov 2019 02:53:30 -0800 (PST) Received: from localhost.localdomain ([2.27.35.135]) by smtp.gmail.com with ESMTPSA id o1sm7444087wrs.50.2019.11.22.02.53.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2019 02:53:29 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org, gregkh@google.com, stable@vger.kernel.org Subject: [PATCH 4.9 6/8] dm: use blk_set_queue_dying() in __dm_destroy() Date: Fri, 22 Nov 2019 10:52:51 +0000 Message-Id: <20191122105253.11375-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122105253.11375-1-lee.jones@linaro.org> References: <20191122105253.11375-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.9,1/8] ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary
|
expand
|
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 2ffe7db75acb..36e6221fabab 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1946,9 +1946,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) kthread_flush_worker(&md->kworker);