From patchwork Wed Jul 10 11:35:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Xu X-Patchwork-Id: 11039273 Return-Path: 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 B10176C5 for ; Thu, 11 Jul 2019 05:24:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 920A528A60 for ; Thu, 11 Jul 2019 05:24:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 81D0928A62; Thu, 11 Jul 2019 05:24:21 +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=-6.9 required=2.0 tests=BAYES_00,DATE_IN_PAST_12_24, 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 0A0CF28A60 for ; Thu, 11 Jul 2019 05:24:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726119AbfGKFYU (ORCPT ); Thu, 11 Jul 2019 01:24:20 -0400 Received: from mail.cn.fujitsu.com ([183.91.158.132]:19332 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726088AbfGKFYU (ORCPT ); Thu, 11 Jul 2019 01:24:20 -0400 X-IronPort-AV: E=Sophos;i="5.63,476,1557158400"; d="scan'208";a="71158725" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 11 Jul 2019 13:24:18 +0800 Received: from G08CNEXCHPEKD02.g08.fujitsu.local (unknown [10.167.33.83]) by cn.fujitsu.com (Postfix) with ESMTP id 976F84CDE65E; Thu, 11 Jul 2019 13:24:18 +0800 (CST) Received: from localhost.localdomain (10.167.215.46) by G08CNEXCHPEKD02.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 11 Jul 2019 13:24:19 +0800 From: Yang Xu To: , CC: , Yang Xu Subject: [PATCH] generic/553[4]: correct kernel fix commit Date: Wed, 10 Jul 2019 19:35:22 +0800 Message-ID: <1562758522-6359-1-git-send-email-xuyang2018.jy@cn.fujitsu.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-Originating-IP: [10.167.215.46] X-yoursite-MailScanner-ID: 976F84CDE65E.AF665 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: xuyang2018.jy@cn.fujitsu.com Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP commit 96e6e8f4a68d ("vfs: add missing checks to copy_file_range") adds checks for immutablefile and swapfile instead of commit a31713517d ("vfs: introduce generic_file_rw_checks()"). Signed-off-by: Yang Xu --- tests/generic/553 | 2 +- tests/generic/554 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/generic/553 b/tests/generic/553 index aefb0819..a836e602 100755 --- a/tests/generic/553 +++ b/tests/generic/553 @@ -7,7 +7,7 @@ # Check that we cannot copy_file_range() to an immutable file # # This is a regression test for kernel commit: -# a31713517dac ("vfs: introduce generic_file_rw_checks()") +# 96e6e8f4a68d ("vfs: add missing checks to copy_file_range") # seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/generic/554 b/tests/generic/554 index fa19d580..eaf1f45a 100755 --- a/tests/generic/554 +++ b/tests/generic/554 @@ -7,7 +7,7 @@ # Check that we cannot copy_file_range() to a swapfile # # This is a regression test for kernel commit: -# a31713517dac ("vfs: introduce generic_file_rw_checks()") +# 96e6e8f4a68d ("vfs: add missing checks to copy_file_range") # seq=`basename $0` seqres=$RESULT_DIR/$seq