From patchwork Tue Mar 9 03:20:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingbo Xu X-Patchwork-Id: 396589 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE41AC433E0 for ; Tue, 9 Mar 2021 03:21:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AABCC6527C for ; Tue, 9 Mar 2021 03:21:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229982AbhCIDVE (ORCPT ); Mon, 8 Mar 2021 22:21:04 -0500 Received: from out30-42.freemail.mail.aliyun.com ([115.124.30.42]:53656 "EHLO out30-42.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbhCIDU0 (ORCPT ); Mon, 8 Mar 2021 22:20:26 -0500 X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R201e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=e01e04420; MF=jefflexu@linux.alibaba.com; NM=1; PH=DS; RN=5; SR=0; TI=SMTPD_---0UR.QeTY_1615260024; Received: from localhost(mailfrom:jefflexu@linux.alibaba.com fp:SMTPD_---0UR.QeTY_1615260024) by smtp.aliyun-inc.com(127.0.0.1); Tue, 09 Mar 2021 11:20:24 +0800 From: Jeffle Xu To: snitzer@redhat.com, gregkh@linuxfoundation.org, sashal@kernel.org Cc: stable@vger.kernel.org, jefflexu@linux.alibaba.com Subject: [PATCH v2 4.9 0/2] dm table: fix iterate_devices based device Date: Tue, 9 Mar 2021 11:20:21 +0800 Message-Id: <20210309032023.98465-1-jefflexu@linux.alibaba.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org Backport notes are detailed in the corresponding commit log. changes since v1: - fix build error of patch 1 - fix upstream commit id of patch 2 Jeffle Xu (2): dm table: fix iterate_devices based device capability checks dm table: fix DAX iterate_devices based device capability checks drivers/md/dm-table.c | 91 +++++++++++++++++++++++++++---------------- 1 file changed, 57 insertions(+), 34 deletions(-)