Message ID | 20190504183811.18725-15-mb@lightnvm.io (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-block-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 73D231390 for <patchwork-linux-block@patchwork.kernel.org>; Sat, 4 May 2019 18:39:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 655672864B for <patchwork-linux-block@patchwork.kernel.org>; Sat, 4 May 2019 18:39:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 594D228710; Sat, 4 May 2019 18:39:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0258B2864B for <patchwork-linux-block@patchwork.kernel.org>; Sat, 4 May 2019 18:39:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727463AbfEDSio (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Sat, 4 May 2019 14:38:44 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:34278 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727424AbfEDSil (ORCPT <rfc822;linux-block@vger.kernel.org>); Sat, 4 May 2019 14:38:41 -0400 Received: by mail-lj1-f195.google.com with SMTP id s7so2438144ljh.1 for <linux-block@vger.kernel.org>; Sat, 04 May 2019 11:38:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=L7Y8Lh5IYv4Bmahc7eyquq9j/qZDLFPPuPgyEde0MGE=; b=WgnS9VfjUEb6u5fEL8gfB0GELJaBgiuJixwcpkBXR+UqOo677EOvketHKcA4GSMoa9 9n5URMgpPlBnXj1q+MbmrooJ1YPLbdXP31bJnJOS0+47XFPbQ0UrWCkxkXtw4tZoaDVm oga8pTllNjHlsb0hJR+tGz9/k7FG2zYz7ALyeJehp6F8tQfKPLLoHfWcdC9JIK7K7vmO snS+JVHOv8wRa3eJT/67OCBr0oPW6CQk6DmyGJB/nUyY29ee5nbYlJY6OasLiDxVZsxS ML1gkmqQ6R4ns68d8+h0ApNbhyRa7NGpJNgKoa/nwzBOYiulc0Ke/DzDisWXck5liqI+ an1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=L7Y8Lh5IYv4Bmahc7eyquq9j/qZDLFPPuPgyEde0MGE=; b=FIQR7A4P7UaQ9ZZux0CwHtYbdBwz77NcvWeyJdQJjxUZ1QmRhyXM+RLkOsytZQeAwe m7lT6ZbJCsmqFYdNYhKR8n8eAFYoN2KGxGvjiViPr73W9lQJtov8mYDsdijeXMbTtXdK MNh+FlQeLe+jIFyujyeEJu/U/pTNTSiffJpQM1LovIDqN1c2rnfDQ4KGBwBoISUgynM9 QYTtcnLL37l0oaQnIWXoUQPKwKgj4M4tKNcAaqn5STODSm9qzG2ppec9DV9KElXneie2 WUspjnTWsuhmydTySBOVTBKADg9EFxoa0pDuTTUoC0nG8P/z8GaBE3daUXeVPxxK0qvH uB6g== X-Gm-Message-State: APjAAAVqK9zGoR8brZahGEpwwq/igxEOputKF/EG3fHIq+zHB7SPiYa/ rl/8AZSse9Gol19sF2VA8NqqFA== X-Google-Smtp-Source: APXvYqxz+cQwncZIhxh+F3cPOSkTDYr/NyX0A6hOwX9QtdBI6QtHBXZzbQGiZ4AGTLHljZt+gqjbuw== X-Received: by 2002:a2e:8850:: with SMTP id z16mr2353719ljj.84.1556995119219; Sat, 04 May 2019 11:38:39 -0700 (PDT) Received: from skyninja.webspeed.dk (2-111-91-225-cable.dk.customer.tdc.net. [2.111.91.225]) by smtp.gmail.com with ESMTPSA id q21sm1050260lfa.84.2019.05.04.11.38.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 May 2019 11:38:38 -0700 (PDT) From: =?utf-8?q?Matias_Bj=C3=B8rling?= <mb@lightnvm.io> To: axboe@fb.com Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Igor Konopko <igor.j.konopko@intel.com>, =?utf-8?q?Matias_Bj=C3=B8rling?= <mb@lightnvm.io> Subject: [GIT PULL 14/26] lightnvm: pblk: fix lock order in pblk_rb_tear_down_check Date: Sat, 4 May 2019 20:37:59 +0200 Message-Id: <20190504183811.18725-15-mb@lightnvm.io> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190504183811.18725-1-mb@lightnvm.io> References: <20190504183811.18725-1-mb@lightnvm.io> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: <linux-block.vger.kernel.org> X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
lightnvm updates for 5.2
|
expand
|
diff --git a/drivers/lightnvm/pblk-rb.c b/drivers/lightnvm/pblk-rb.c index 03c241b340ea..35550148b5e8 100644 --- a/drivers/lightnvm/pblk-rb.c +++ b/drivers/lightnvm/pblk-rb.c @@ -799,8 +799,8 @@ int pblk_rb_tear_down_check(struct pblk_rb *rb) } out: - spin_unlock(&rb->w_lock); spin_unlock_irq(&rb->s_lock); + spin_unlock(&rb->w_lock); return ret; }