Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp1510064rdf; Sun, 5 Nov 2023 02:32:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IH3oeJB5fwA36mAQtFHDJuaLKab6UJIJ5+fTi57mXPEi9np03PBSkadRhFrWt6Jtt6UY4NQ X-Received: by 2002:a05:6808:1513:b0:3a7:2621:2daf with SMTP id u19-20020a056808151300b003a726212dafmr31832690oiw.42.1699180375219; Sun, 05 Nov 2023 02:32:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699180375; cv=none; d=google.com; s=arc-20160816; b=vln05WVFf1h3bE6SL4AAennfxYroVJOUDCE4dx0WxQWLLCHI3rReKtjawVam6hnKgZ cOWaDozcrEEyXv2qZ5jNiSTjG28RG6oRTyoUYukPTNVHzzxMq9ywmQD6VnEUgh7Q79fz 2M9G2XsOm/DoXoutA6mIPTNXPKZS/zP61Y3mycKIxYBZfx7dZ8FfOQ96c0KY7hLpDV5K BCm2k+tI3+7QHFgRO3aM+4Jj4dy7NWFtonEkMwW9m+1dck3K56+/De7oLlYkVaSY3hSm RNRfWN0Xhm6f0AvN9raAvVi7+WWomHaerBaZPffMdYbzV5aEEp2pxu/ZlXiwXb7O5/23 Mftg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-topic:thread-index :content-transfer-encoding:mime-version:subject:message-id:cc:to :from:date; bh=dGfYrKbiOqMGaRUgper1QxChDaz3Gwl/LiduxKYaJXk=; fh=bxFzCp/E9cubu1hDGLmTODg1d4zhuZ8rBUUo0PD7pkI=; b=Kq3BH3Q456k/NpNyBDisu9BW2kV7vne4VCTem50svp0ntKcXjsN0hJbtVL90a4iJ6B sfkqIUfIHp5tv1qtNEvQQPpIAzeeCUvtciyi2yyeF1LCxttsvjN16y3nBueRKW6Ptehy UxYjTu3Ps8G13Cz6Uta60LbbATqVQLVgP46GfZbMuj6Jz0gNYimldU78XGsbaB0sEuDU sMpGOwmkigR54ZPmpSjOQw6lG5DRnnDeYTxSiVUJHNpk0/8l97mXI6BwCFv4ACNrgkty lw9s7y9YbJeCJ3eYXJqxuZznhUxYWwZsloV56iKbEzcBN/nG02MkwS3162Q0Lgx5cIH8 xlzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id o15-20020a656a4f000000b0057823b96685si6007347pgu.681.2023.11.05.02.32.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 02:32:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BC9A18098712; Sun, 5 Nov 2023 02:32:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229638AbjKEKbM (ORCPT + 99 others); Sun, 5 Nov 2023 05:31:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjKEKbL (ORCPT ); Sun, 5 Nov 2023 05:31:11 -0500 Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2FAFEB for ; Sun, 5 Nov 2023 02:31:05 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 120F96340DF2; Sun, 5 Nov 2023 11:31:03 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id fAgA4uaBlOak; Sun, 5 Nov 2023 11:31:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 8B9336340E12; Sun, 5 Nov 2023 11:31:02 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xjuFIeJljwem; Sun, 5 Nov 2023 11:31:02 +0100 (CET) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 6E6126340DF2; Sun, 5 Nov 2023 11:31:02 +0100 (CET) Date: Sun, 5 Nov 2023 11:31:02 +0100 (CET) From: Richard Weinberger To: torvalds Cc: linux-mtd , linux-kernel Message-ID: <15692057.53962.1699180262386.JavaMail.zimbra@nod.at> Subject: [GIT PULL] UBI and UBIFS Updates for v6.7-rc1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF97 (Linux)/8.8.12_GA_3809) Thread-Index: f1SHfvtc6D/rLNKsb3FlFunId/8Slg== Thread-Topic: UBI and UBIFS Updates for v6.7-rc1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,T_SPF_PERMERROR 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 05 Nov 2023 02:32:54 -0800 (PST) Linus, The following changes since commit 58720809f52779dc0f08e53e54b014209d13eebb: Linux 6.6-rc6 (2023-10-15 13:34:39 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git tags/ubifs-for-linus-6.7-rc1 for you to fetch changes up to 75690493591fe283e4c92a3ba7c4420e9858abdb: ubifs: ubifs_link: Fix wrong name len calculating when UBIFS is encrypted (2023-10-28 23:19:08 +0200) ---------------------------------------------------------------- This pull request contains updates for UBI and UBIFS - UBI Fastmap improvements - Minor issues found by static analysis bots in both UBI and UBIFS - Fix for wrong dentry length UBIFS in fscrypt mode ---------------------------------------------------------------- Ferry Meng (1): ubifs: Fix missing error code err Konstantin Meskhidze (1): ubifs: fix possible dereference after free Vincent Whitchurch (1): ubifs: Fix memory leak of bud->log_hash Yang Li (1): ubifs: Fix some kernel-doc comments ZhaoLong Wang (1): ubi: block: Fix use-after-free in ubiblock_cleanup Zhihao Cheng (13): ubi: fastmap: Fix missed ec updating after erasing old fastmap data block ubi: fastmap: erase_block: Get erase counter from wl_entry rather than flash ubi: fastmap: Allocate memory with GFP_NOFS in ubi_update_fastmap ubi: Replace erase_block() with sync_erase() ubi: fastmap: Use free pebs reserved for bad block handling ubi: fastmap: Wait until there are enough free PEBs before filling pools ubi: fastmap: Remove unneeded break condition while filling pools ubi: fastmap: may_reserve_for_fm: Don't reserve PEB if fm_anchor exists ubi: fastmap: Get wl PEB even ec beyonds the 'max' if free PEBs are run out ubi: fastmap: Fix lapsed wear leveling for first 64 PEBs ubi: fastmap: Add module parameter to control reserving filling pool PEBs ubi: fastmap: Add control in 'UBI_IOCATT' ioctl to reserve PEBs for filling pools ubifs: ubifs_link: Fix wrong name len calculating when UBIFS is encrypted drivers/mtd/ubi/block.c | 4 +++- drivers/mtd/ubi/build.c | 25 ++++++++++++++++++++++--- drivers/mtd/ubi/cdev.c | 3 ++- drivers/mtd/ubi/eba.c | 3 --- drivers/mtd/ubi/fastmap-wl.c | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------ drivers/mtd/ubi/fastmap.c | 66 +++++++----------------------------------------------------------- drivers/mtd/ubi/ubi.h | 10 ++++++++-- drivers/mtd/ubi/wl.c | 48 ++++++++++++++++++++++++++++++------------------ drivers/mtd/ubi/wl.h | 6 ++++-- fs/ubifs/dir.c | 4 +++- fs/ubifs/file.c | 3 +++ fs/ubifs/journal.c | 1 + fs/ubifs/super.c | 5 ++++- fs/ubifs/tnc.c | 1 + include/uapi/mtd/ubi-user.h | 4 +++- 15 files changed, 179 insertions(+), 116 deletions(-)