From patchwork Tue Mar 7 01:52:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ye Bin X-Patchwork-Id: 6205 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2178280wrd; Mon, 6 Mar 2023 17:32:12 -0800 (PST) X-Google-Smtp-Source: AK7set9GBEnsYTZKtBKmRuOjbj2fbGhRNxXIupWL/36jPxM7TjE34qRMM1PkLYhD8M3VCGcwGsJQ X-Received: by 2002:a17:902:ecc1:b0:19e:23c1:4c2e with SMTP id a1-20020a170902ecc100b0019e23c14c2emr15393293plh.59.1678152732735; Mon, 06 Mar 2023 17:32:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678152732; cv=none; d=google.com; s=arc-20160816; b=yAVYDkEM/g1syMeMzTNuYH/LEfXaqInT+Co8oAEoQuC/iONpzbSL3tnNSJtak8+aI1 yaVOrOqEUCGNz5L1wy48MR2MuktpPCUinYHvxbTEODnFdFgR4samV1/4GaBEwhKzRofF 6QfZ2vTTNGvppt8MJPUhTmhneV7c2/8Y9ftGzH2iU0ONI9lZ3eZG3prSHKLvVyH9Y7Gd eZy7VwGqyNgiCWUehB2CCJelD6f6BfKReRojTu35plX4GvQf0DmoevDS/lDEAky7oFjJ wbMkH4kIa9gVu20o5PcyjZpMDMlKdOPgASOtrTaQYFKOELe5w9oQHez8IQS51blqc5iM 6l4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Za7qZiKx9CdyZp6UxceTWT8pceMHSpsPxyA9VnO05m8=; b=A5IVv6oIamRF7+CTYKVRDg2+twUXvJkZMN5QVyZvInKn+fzpLsmcekoVMGAXhGsDYq a2dD6yi3RrmShb3YJyBVNFzDpZsNj4yrV4TIcgoEW+iHDXpdwXT6MRp4UBTwoick3xSn Gkef3EekZM4GzhZQ7jp1TPimGE4iIPKwNuqHnFsNrMFpxRSbcxnT83r+lXLsdO9ti27R j/Ygtzdrin6/LPOwX1ZAjHFNDT4/4Z0afXxibDG9bQAqKpHt4QvPTeM3CmnjRQEzmC33 R9yNNagcvJmnLVNz2SjIdygZT8OkqojlmSIm9bQiZSt1i6vOenwRWLV6AZd5nNHEWoDl +/2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020a170902789100b0019e486213a4si9856006pll.147.2023.03.06.17.31.59; Mon, 06 Mar 2023 17:32:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229878AbjCGBaB (ORCPT + 99 others); Mon, 6 Mar 2023 20:30:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229876AbjCGB3t (ORCPT ); Mon, 6 Mar 2023 20:29:49 -0500 Received: from dggsgout11.his.huawei.com (unknown [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF44C37F22; Mon, 6 Mar 2023 17:29:47 -0800 (PST) Received: from mail02.huawei.com (unknown [172.30.67.169]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4PVyY20KZ6z4f3jJ5; Tue, 7 Mar 2023 09:29:42 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP3 (Coremail) with SMTP id _Ch0CgBH9CGFkwZk1RTkEQ--.45801S4; Tue, 07 Mar 2023 09:29:43 +0800 (CST) From: Ye Bin To: tytso@mit.edu, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org Cc: linux-kernel@vger.kernel.org, jack@suse.cz, Ye Bin Subject: [PATCH v4 0/2] ext4: fix WARNING in ext4_update_inline_data Date: Tue, 7 Mar 2023 09:52:51 +0800 Message-Id: <20230307015253.2232062-1-yebin@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CM-TRANSID: _Ch0CgBH9CGFkwZk1RTkEQ--.45801S4 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUU5L7kC6x804xWl14x267AKxVW8JVW5JwAF c2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII 0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26w1j6s0DM28EF7xv wVC0I7IYx2IY6xkF7I0E14v26r4UJVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4 x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG 64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r 1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x0EwIxG rwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4 vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcVC0I7IY x2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26c xKx2IYs7xG6rW3Jr0E3s1lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x02 67AKxVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjxUrR6zUUUUU X-CM-SenderInfo: p1hex046kxt4xhlfz01xgou0bp/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,KHOP_HELO_FCRDNS, MAY_BE_FORGED,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759670680272486170?= X-GMAIL-MSGID: =?utf-8?q?1759670680272486170?= From: Ye Bin Diff v4 vs v3: Change the first patch's changelog. Diff v3 vs v2: Remove set 'EXT4_STATE_MAY_INLINE_DATA' flag from ext4_find_inline_data_nolock() Diff v2 vs v1: Only update 'inline_off' when do extra expand. Ye Bin (2): ext4: remove set 'EXT4_STATE_MAY_INLINE_DATA' flag from ext4_find_inline_data_nolock() ext4: fix WARNING in ext4_update_inline_data fs/ext4/inline.c | 1 - fs/ext4/inode.c | 7 ++++++- fs/ext4/xattr.c | 3 +++ 3 files changed, 9 insertions(+), 2 deletions(-)