Message ID | 20230303082158.4012809-1-yebin@huaweicloud.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp285173wrd; Fri, 3 Mar 2023 00:08:44 -0800 (PST) X-Google-Smtp-Source: AK7set/VMatJsQYjwwU1JheSdbR8GWpv63+CKJP6WaRLpua0oYhgoskQQd2uHdob2Yifn6giS1Xb X-Received: by 2002:a05:6402:2d3:b0:4c3:15f0:1100 with SMTP id b19-20020a05640202d300b004c315f01100mr1015704edx.29.1677830924609; Fri, 03 Mar 2023 00:08:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677830924; cv=none; d=google.com; s=arc-20160816; b=izz+3MIHS2+C+RT+0ff9L7SL2a7bG0OT+XYI2DCMcY2BEJk3CH5L1r0Tb6RhWGI4JY EZ2FkImnvN8b0bo+OI0j1dgcKBGbk/t15rEp9nmLBMlfvKCoO4jOdPukTfmElQePvWQ7 u0kT1q0/YXAH7y5RqV/ZIn282SAqU5Td+q1J5ltpPMRFYq3iLNERptW2UI3+yNOb/bnM 6SKRKzNTxy92+xW61XefFaBjNOIH+tEOTpHSq1GTFmhUFx+L8Rj8yrc9eujX20l1JBdI em6JwSW37IRcC1B/fX6ot2Iufgpjppsb48uBAj3nmTwskA+v6Il1eFnDmh9UCSbc6PAc dMiQ== 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=0lBf2deMVmH3sU6z8UbeFUeaqY140svW+7GVeeaexnY=; b=v/tKYA0uXbzYKPFCzZm4Nq/HDw6VFr2VM6rYmcM3v51g0pUKWi6x+34ncLxLmAtWmL SOVqF5O1uz3P9hyz3YpuOe3B9LYgWkSpjD5dWz7LyOppIb9c26nWZ59BZoluYwsW9SZI OdYyCiEy32aKJYmpRjQVD00FmMRWON4DvgPfxpXnC/PSPted2xARbhM4k2K9WPJGuVc9 62pNpCotP1u30bPy0ksvX6GjjaaMAhp08iYBX3N0jgUo/ILLTWbajVnQ/Fyylz+Pfobt Zwa8SPw3eRapkrK8pbHDsDJWTwQ2ulJ0CgF5Za5qoi0MNz0Y90pn4hl+vDXT/nCdqoau bAYg== 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 sa40-20020a1709076d2800b008e416a5f368si1955767ejc.349.2023.03.03.00.08.22; Fri, 03 Mar 2023 00:08:44 -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 S229779AbjCCH6x (ORCPT <rfc822;davidbtadokoro@gmail.com> + 99 others); Fri, 3 Mar 2023 02:58:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjCCH6r (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 3 Mar 2023 02:58:47 -0500 Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BE01457E1; Thu, 2 Mar 2023 23:58:45 -0800 (PST) Received: from mail02.huawei.com (unknown [172.30.67.169]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4PSgMh2FZKz4f3jMG; Fri, 3 Mar 2023 15:58:40 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP3 (Coremail) with SMTP id _Ch0CgCnUyGwqAFkWC0HEQ--.51341S4; Fri, 03 Mar 2023 15:58:42 +0800 (CST) From: Ye Bin <yebin@huaweicloud.com> To: tytso@mit.edu, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org Cc: linux-kernel@vger.kernel.org, jack@suse.cz, Ye Bin <yebin10@huawei.com> Subject: [PATCH v2 0/2] ext4: fix WARNING in ext4_update_inline_data Date: Fri, 3 Mar 2023 16:21:56 +0800 Message-Id: <20230303082158.4012809-1-yebin@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _Ch0CgCnUyGwqAFkWC0HEQ--.51341S4 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=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759333239384805490?= X-GMAIL-MSGID: =?utf-8?q?1759333239384805490?= |
Series |
ext4: fix WARNING in ext4_update_inline_data
|
|
Message
Ye Bin
March 3, 2023, 8:21 a.m. UTC
From: Ye Bin <yebin10@huawei.com>
Diff v2 vs v1:
Only update 'inline_off' when do extra expand.
Ye Bin (2):
ext4: introduce 'update_only' parameter for
ext4_find_inline_data_nolock()
ext4: fix WARNING in ext4_update_inline_data
fs/ext4/ext4.h | 2 +-
fs/ext4/inline.c | 7 ++++---
fs/ext4/inode.c | 2 +-
fs/ext4/xattr.c | 3 +++
4 files changed, 9 insertions(+), 5 deletions(-)