Message ID | 20221208023233.1231330-1-yebin@huaweicloud.com |
---|---|
Headers | show
Return-Path: <SRS0=4qEY=4G=vger.kernel.org=linux-ext4-owner@ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=2404:9400:2221:ea00::3; helo=gandalf.ozlabs.org; envelope-from=srs0=4qey=4g=vger.kernel.org=linux-ext4-owner@ozlabs.org; receiver=<UNKNOWN>) Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NSHhj51h8z23ns for <incoming@patchwork.ozlabs.org>; Thu, 8 Dec 2022 13:11:49 +1100 (AEDT) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4NSHhj4Zg3z4xRB for <incoming@patchwork.ozlabs.org>; Thu, 8 Dec 2022 13:11:49 +1100 (AEDT) Received: by gandalf.ozlabs.org (Postfix) id 4NSHhj4XCSz4xZ7; Thu, 8 Dec 2022 13:11:49 +1100 (AEDT) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: gandalf.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-ext4-owner@vger.kernel.org; receiver=<UNKNOWN>) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4NSHhj4SdHz4xRB for <patchwork-incoming@ozlabs.org>; Thu, 8 Dec 2022 13:11:49 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229762AbiLHCLs (ORCPT <rfc822;patchwork-incoming@ozlabs.org>); Wed, 7 Dec 2022 21:11:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbiLHCLp (ORCPT <rfc822;linux-ext4@vger.kernel.org>); Wed, 7 Dec 2022 21:11:45 -0500 Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B27792A2C; Wed, 7 Dec 2022 18:11:43 -0800 (PST) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4NSHhT5lBXz4f3jYv; Thu, 8 Dec 2022 10:11:37 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP4 (Coremail) with SMTP id gCh0CgB3m9jbR5Fjj5BiBw--.22193S4; Thu, 08 Dec 2022 10:11:40 +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 v3 0/4] Fix two issue about ext4 extended attribute Date: Thu, 8 Dec 2022 10:32:29 +0800 Message-Id: <20221208023233.1231330-1-yebin@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgB3m9jbR5Fjj5BiBw--.22193S4 X-Coremail-Antispam: 1UD129KBjvdXoWrZFy3ZFy7XFWkAF4fGw4UArb_yoWfuwc_GF y8ta95Jr4jqa48Wa9FyF10yFyrKF48Gr1rZF1kCFsrZry7ZFWDZFWkJrWxur1UuF4jy3Z8 ZF17trWfAF92gjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbokYFVCjjxCrM7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28CjxkF64kEwV A0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWDJVCq3wA2z4x0Y4vE2Ix0cI8IcVCY1x02 67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87Iv6xkF7I 0E14v26rxl6s0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40E x7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x 0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Y z7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zV AF1VAY17CE14v26r126r1DMIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4l IxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWrZr1j6s 0DMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsG vfC2KfnxnUUI43ZEXa7IU1zuWJUUUUU== 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_PASS 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-ext4.vger.kernel.org> X-Mailing-List: linux-ext4@vger.kernel.org |
Series |
Fix two issue about ext4 extended attribute
|
expand
|
From: Ye Bin <yebin10@huawei.com> Diff v3 vs v2: 1. Remove patch [2-3]. 2. Modify change log according to Bagas Sanjaya's suggestions. Diff v2 vs v1: 1.Modify commit message about "ext4: fix WARNING in ext4_expand_extra_isize_ea" 2.Modify the indentation of arguments about "ext4: rename xattr_find_entry() and __xattr_check_inode()" This patchset fix two issues: 1. Patch [1]-[4] fix WARNING in ext4_expand_extra_isize_ea. 2. Patch [6] fix inode leak in 'ext4_xattr_inode_create()'. 3. Patch [5] is cleanup. Ye Bin (4): ext4: fix WARNING in ext4_expand_extra_isize_ea ext4: allocate extended attribute value in vmalloc area ext4: rename xattr_find_entry() and __xattr_check_inode() ext4: fix inode leak in 'ext4_xattr_inode_create()' fs/ext4/xattr.c | 42 +++++++++++++++++++++++------------------- fs/ext4/xattr.h | 11 +++-------- 2 files changed, 26 insertions(+), 27 deletions(-)