Skip to contentSkip to conversation

UBI and UBIFS Updates for v6.7-rc1

GIT PULL Merged Richard Weinberger 2 participants 2 messages Nov 5, 2023 Memory technology devices (MTD)

lore
Share & tools
lore

Richard Weinberger

author maintainer
#0 lore raw

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(-)
merge bot Merged
#1 lore raw
The pull request you sent on Sun, 5 Nov 2023 11:31:02 +0100 (CET):

The pull request you sent on Sun, 5 Nov 2023 11:31:02 +0100 (CET):

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git tags/ubifs-for-linus-6.7-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/2153fc3d68170bb67be8e389c2f6e0f4a9eb7cd3

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html