Message ID | 20221206015806.3420321-1-yebin@huaweicloud.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2573711wrr; Mon, 5 Dec 2022 17:37:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf6pCDeJiChjZrCWqxqIh1c67wcU9LdmXjoPz1aG6ajFoZBEvIPis5DPcOiPB40gNWKjF9AK X-Received: by 2002:a05:6402:290:b0:46b:81d2:e3d0 with SMTP id l16-20020a056402029000b0046b81d2e3d0mr26476742edv.314.1670290662846; Mon, 05 Dec 2022 17:37:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670290662; cv=none; d=google.com; s=arc-20160816; b=VqsVBUsmeOrmmFre3DcAaN5zHmQ1kEsziYuow8I+/WH8XnCsD5X/kFLbneEPBdg54y zTEQHjS2+vcZgiDpmZnMmNHH/Dj90UUAEHcjbQtrMBITkgSiRQ4RymYG3TjrB+CRJCaP J2RXiSXFRg9swvjVRzsyeUYFXB6BDRUaNDPPyuMTQUfFyxVEW2AeVSMQhYFrux9W+55f dbvBudbzDEzOekX8P7Y/soaHVd+nF1fHnFgB0fR/GdBBhJGfDm30l4vX+om5QbzvCPlj kDG7iWtZIdeivOsGMcuqrzH/rRH6KNS6rmOcAWfBumQ7MdZGryAjcu+Ps7imow23NI9t yw1w== 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=fXMz3xxIkXDLcAxFk9H02jIMX07wp7O3OVARXUcBs/g=; b=rfuQZKQFg/gJyKjFNXo300rLYyuZyxshXE4+i6HvpJRsrhi7K8BGrMOyYXlf1L1qkp 4XHadk6Nxiwv7UqejSH/Lenav6u/933sQreOLss4ZBS6zYU016PYCZ9/YJhZpaPduSuN xltRqypZE0ge9gx+uEPnTlANEu4y2VBG/JWYC8Zr/ywqfKyozSo0hx9zTIdUEBAW+2Y/ ykm5GAZ2N96F9FGYfITky2YuIe1Jy7HzCii4JV9AXAeCMWW4jnZeUIPxsyvMpoWr6x8W FPLR5vQSQ0YHU8Atk7IT1tM9ggfh9Lt4IU+ru9Wc+tKQGks4VrmHWdehLsbfsoLTcIyB QRCg== 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 dt5-20020a170907728500b007ae6aa9e875si1337193ejc.370.2022.12.05.17.37.20; Mon, 05 Dec 2022 17:37:42 -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 S233056AbiLFBhQ (ORCPT <rfc822;jaysivo@gmail.com> + 99 others); Mon, 5 Dec 2022 20:37:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232343AbiLFBhO (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 5 Dec 2022 20:37:14 -0500 Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25EF72019E; Mon, 5 Dec 2022 17:37:14 -0800 (PST) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4NR31c3BZCz4f3v4k; Tue, 6 Dec 2022 09:37:08 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP4 (Coremail) with SMTP id gCh0CgDH69jFnI5jZpTsBg--.65169S4; Tue, 06 Dec 2022 09:37:11 +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 -next 0/6] Fix two issue about ext4 extended attribute Date: Tue, 6 Dec 2022 09:58:00 +0800 Message-Id: <20221206015806.3420321-1-yebin@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgDH69jFnI5jZpTsBg--.65169S4 X-Coremail-Antispam: 1UD129KBjvdXoW7JF4fXF1DAw1UAr48Zr17Awb_yoW3AFg_AF y8ta4rJr1UXFy8Wa9Fkr10yr95KF48Gr13ZF1kAF43Z347Xa1DZrWkArWUur1j9F45J3Z8 Zw17Jr1xAF9agjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-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-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?1751426701655596536?= X-GMAIL-MSGID: =?utf-8?q?1751426701655596536?= |
Series |
Fix two issue about ext4 extended attribute
|
|
Message
Ye Bin
Dec. 6, 2022, 1:58 a.m. UTC
From: Ye Bin <yebin10@huawei.com>
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 (6):
ext4: fix WARNING in ext4_expand_extra_isize_ea
ext4: add primary check extended attribute inode in
ext4_xattr_check_entries()
ext4: remove unnessary size check in ext4_xattr_inode_get()
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 | 82 ++++++++++++++++++++++++++++++++-----------------
fs/ext4/xattr.h | 11 ++-----
2 files changed, 57 insertions(+), 36 deletions(-)