From patchwork Sat Mar 4 02:54:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ye Bin X-Patchwork-Id: 6101 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp755137wrd; Fri, 3 Mar 2023 19:44:08 -0800 (PST) X-Google-Smtp-Source: AK7set9X5xwvMFCGFFk1lvsIuOjv7O7Ebt4253Zq49Pggd7l5m99MUOjmNkWv/NwfX/u7H/wh24o X-Received: by 2002:a17:903:41c3:b0:19e:699e:9b64 with SMTP id u3-20020a17090341c300b0019e699e9b64mr5465062ple.65.1677901447888; Fri, 03 Mar 2023 19:44:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677901447; cv=none; d=google.com; s=arc-20160816; b=hfBpqkWeL79gsXeEjXiPPO0eIDAaRbzs8rwaz1Ll7TF9viAtuJa5ahHfHCasBEtTQw Pv7LmKJyyM49/Zcsopx/84D/qnhxUx+R5JjRFIge1QqxdT7g+ba17ZfNaif7XwvthFBe HfKvKNKxBFPkbvRJ1t2l4xJmJNa4I2hd6oySFz9MPaArH02Y20wzE4IlNTUw0jJ0QutK KQ1p1bG7wjNsKCZiWvqp/s65GgxVPBL20CSBWEYfshz9wu6uL0O4NR/NOBWeY8JDLXC7 LQ0RgwN0AaqA6zIKqDe5JG6GUrV6gd59vpYz2B/N5Xe8it7xDNMORVgcheOGPQJl24oE I5FQ== 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=3yDP9abWOGXAd4D/FX2M+1TrqWty2dpBcWgFSNDQ23s=; b=hlT1ccQf0pdgn8m/N7GrK6+pVAoPV7i3+bvy7jgu9cbBqvprwe7rpEj9qUu4pWG44t tjW5nF+8448NEITccyRHm4KDMRT0XEh0OGXBmBGSSsEDo40V3M99GIwDZ5GUeSX46yU6 z4TCPd0wyXChEYsGIDkirXW2b7H0rpvhPCffDNUL/DjFj6oSCcVq5MYwlPVUyWQJYa0o Xiz6L+4XV6CPnDSFzb3a31pPf+nBUGF5p1GojJrUCYj5mXfTSYnE8ktgV7BdyxWUu72j Akczc/V7ytWFFiGTAIzzGgRT8G/vSORVRd2vI2QxC2+2DNR4NQmHB9zmoXSYUx/vdXXk PFkg== 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 z18-20020a170902d55200b001871c762263si3807492plf.185.2023.03.03.19.43.55; Fri, 03 Mar 2023 19:44:07 -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 S229679AbjCDCb6 (ORCPT + 99 others); Fri, 3 Mar 2023 21:31:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229659AbjCDCbv (ORCPT ); Fri, 3 Mar 2023 21:31:51 -0500 Received: from dggsgout12.his.huawei.com (dggsgout12.his.huawei.com [45.249.212.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9E88664CA; Fri, 3 Mar 2023 18:31:49 -0800 (PST) Received: from mail02.huawei.com (unknown [172.30.67.169]) by dggsgout12.his.huawei.com (SkyGuard) with ESMTP id 4PT83z1NwRz4f3jHY; Sat, 4 Mar 2023 10:31:43 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP3 (Coremail) with SMTP id _Ch0CgCnUiCPrQJk3eg0EQ--.50517S4; Sat, 04 Mar 2023 10:31:45 +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 v3 0/2] ext4: fix WARNING in ext4_update_inline_data Date: Sat, 4 Mar 2023 10:54:56 +0800 Message-Id: <20230304025458.4007825-1-yebin@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CM-TRANSID: _Ch0CgCnUiCPrQJk3eg0EQ--.50517S4 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUU5l7kC6x804xWl14x267AKxVW8JVW5JwAF c2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII 0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26F1j6w1UM28EF7xv wVC0I7IYx2IY6xkF7I0E14v26F4j6r4UJwA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7 xvwVC2z280aVCY1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40E FcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr 0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28IcxkI7VAKI48J MxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwV AFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY6xIIjxv2 0xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4 v20xvaj40_WFyUJVCq3wCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E 14v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x07UWE__UUUUU= 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759403629845943074?= X-GMAIL-MSGID: =?utf-8?q?1759407188857452030?= From: Ye Bin 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(-)