From patchwork Tue May 23 17:20:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gao Xiang X-Patchwork-Id: 98101 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2307257vqo; Tue, 23 May 2023 10:31:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6lbbJplq3zCwRqUHHjw5BVPrHHHyvkQZ893LhPz6TDKOMh3lEaJz4zg/rv+/ahmpyoNmgw X-Received: by 2002:a05:6a00:2da8:b0:64b:20cd:6d52 with SMTP id fb40-20020a056a002da800b0064b20cd6d52mr19549307pfb.14.1684863104710; Tue, 23 May 2023 10:31:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684863104; cv=none; d=google.com; s=arc-20160816; b=LDm/J/DsFz8pedAFZBjZUIyHVzWIanhJxiPFn0v/rL5e8roUQzMor5fcZK/2OQGLaR we2+XWlXtrv84wf35TFfYEIi66vGSpIVn4SWVSyyXTPUgEFX/2qttD2VZPNdBAZ+cLym P2JpLIaE4bU5BxVIGQITsje1RNE08rDrPAjxacUWNgh+65ujXc79m6u45fPj0YzW5Imq iTqCp1eIPtHoMwoIums9GcBjgh0qJHNuflJGn0Hfl3KAahqu7sIE58QXGELPpYTBr0ki C5OmGqpn9pm90/O1VSeejE+NhHpt6jWg3k6QCjSsaH41GiQ5Q0kzWZPZwqJUgoeq9/4Y FWwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version :mail-followup-to:message-id:subject:cc:to:from:date:dkim-signature; bh=MvhVeg8Z5EmL5lpy7xsHJvSAgHj2BKlnckE2KR3IiA0=; b=ql15Ux5/2beQ5sjcpKGP9OFrEMjVAeljcNyxuToCN+wUjQpH9DuFsXx+HtVfASM5dn rn+ZW6jtkqIR3u164FvCeQr0i3J+JzL0bALbqKsUo23+bJVJaECICYM0PIji12Zii7Gq 4Spw06bGTHrSW82nn3ZVCXNEaaBuadGNnRwOGUuQgnoS4pg3Br9/8H3WXhghYbGW4ZCA iac7bA2o2RO1kmNa7JR0gIwTsyD/Ys4FHQcaE+z+QAXcMP3B7+5w/3FQ8qDgrxH8Bmdo Uxl3PzYCTiewm3CtTv1QDv0WiFxCbrSj75tcuLlmyeScFUYNp4IgFL/1VOOPkUgOOm9N hBeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fvT0WSR3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t64-20020a625f43000000b0064d241519bdsi5294506pfb.55.2023.05.23.10.31.30; Tue, 23 May 2023 10:31:44 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fvT0WSR3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237778AbjEWRU2 (ORCPT + 99 others); Tue, 23 May 2023 13:20:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238055AbjEWRUJ (ORCPT ); Tue, 23 May 2023 13:20:09 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C77D7B5 for ; Tue, 23 May 2023 10:20:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5880B634F7 for ; Tue, 23 May 2023 17:20:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8F26C433D2; Tue, 23 May 2023 17:20:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684862407; bh=f46ZRC2jjMXG31VuvQ607oPUvDN+Mcrlg8Kzt5AOalU=; h=Date:From:To:Cc:Subject:From; b=fvT0WSR3TJ+jl8pfMLH5fFkL82VMBh+qig2K3u97ERovmbs+R1TvgTIfn5DCfrNXF cXzpTa8ZiGLhGVAEXxjCYar8isqslMJH+zwo2wGOvnNhH3k2TBokfTEcSr0n2TngTc lH3LulIyV/UUghTUReEgeRO5rLWYciINzXwgrfK3OArSc3p5RSjU8ATdo1eDlNqN3k 05ia4jDW0R3fjKt9cTDx5OKymtl/B1sEARmoGKekW1ta8NWGp1a2FYqYYFLXGe6OQv V7XaFttllzWhwQnZTtIlaJCISNeTLHEtwjacseYPkGvOW90GrjXLYmXL4lO9IS2vS1 tGHp7N8qgX4tw== Date: Wed, 24 May 2023 01:20:02 +0800 From: Gao Xiang To: Linus Torvalds Cc: linux-erofs@lists.ozlabs.org, LKML , Chao Yu , Yue Hu , Jingbo Xu , Sandeep Dhavale Subject: [GIT PULL] erofs fixes for 6.4-rc4 Message-ID: Mail-Followup-To: Linus Torvalds , linux-erofs@lists.ozlabs.org, LKML , Chao Yu , Yue Hu , Jingbo Xu , Sandeep Dhavale MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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?1766707015175346274?= X-GMAIL-MSGID: =?utf-8?q?1766707015175346274?= Hi Linus, Could you consider these three patches for 6.4-rc4? One patch addresses a null-ptr-deref issue reported by syzbot weeks ago, which is caused by the new long xattr name prefix feature and needs to be fixed. The remaining two patches are minor cleanups to avoid unnecessary compilation and adjust per-cpu kworker configuration. Thanks, Gao Xiang The following changes since commit f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6: Linux 6.4-rc2 (2023-05-14 12:51:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.4-rc4-fixes for you to fetch changes up to cf7f2732b4b83026842832e7e4e04bf862108ac2: erofs: use HIPRI by default if per-cpu kthreads are enabled (2023-05-23 16:57:08 +0800) ---------------------------------------------------------------- Changes since last update: - Fix null-ptr-deref related to long xattr name prefixes; - Avoid pcpubuf compilation if CONFIG_EROFS_FS_ZIP is off; - Use high priority kthreads by default if per-cpu kthread workers are enabled. ---------------------------------------------------------------- Gao Xiang (1): erofs: use HIPRI by default if per-cpu kthreads are enabled Jingbo Xu (1): erofs: fix null-ptr-deref caused by erofs_xattr_prefixes_init Yue Hu (1): erofs: avoid pcpubuf.c inclusion if CONFIG_EROFS_FS_ZIP is off fs/erofs/Kconfig | 1 + fs/erofs/Makefile | 4 ++-- fs/erofs/internal.h | 13 +++++++------ fs/erofs/xattr.c | 2 +- fs/erofs/zdata.c | 2 -- 5 files changed, 11 insertions(+), 11 deletions(-)