[GIT PULL] JFFS, UBI and UBIFS changes for v6.13-rc1

From: Richard Weinberger
Date: Fri Nov 29 2024 - 18:06:49 EST


Linus,

The following changes since commit 2d5404caa8c7bb5c4e0435f94b28834ae5456623:

Linux 6.12-rc7 (2024-11-10 14:19:35 -0800)

are available in the Git repository at:

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

for you to fetch changes up to bcdcb115eaed5e988cf37cc9a1dd5f5dd200e927:

ubifs: Fix uninitialized use of err in ubifs_jnl_write_inode() (2024-11-15 17:45:25 +0100)

----------------------------------------------------------------
This pull request contains updates for JFFS2, UBI and UBIFS:

JFFS2:
- Bug fix for rtime compression
- Various cleanups

UBI:
- Cleanups for fastmap and wear leveling

UBIFS:
- Add support for FS_IOC_GETFSSYSFSPATH
- Remove dead ioctl code
- Fix UAF in ubifs_tnc_end_commit()

----------------------------------------------------------------
Colin Ian King (2):
mtd: ubi: remove redundant check on bytes_left at end of function
jffs2: remove redundant check on outpos > pos

Hongbo Li (2):
ubifs: remove unused ioctl flags GETFLAGS/SETFLAGS
ubifs: add support for FS_IOC_GETFSSYSFSPATH

Javier Carrasco (1):
mtd: ubi: fix unreleased fwnode_handle in find_volume_fwnode()

Kinsey Moore (1):
jffs2: Prevent rtime decompress memory corruption

Liu Mingrui (1):
ubifs: Display the inode number when orphan twice happens

Markus Elfring (2):
ubifs: Call iput(xino) only once in ubifs_purge_xattrs()
ubifs: Reduce kfree() calls in ubifs_purge_xattrs()

Mårten Lindahl (1):
ubi: wl: Close down wear-leveling before nand is suspended

Nathan Chancellor (1):
ubifs: Fix uninitialized use of err in ubifs_jnl_write_inode()

Pascal Eberhard (1):
ubifs: xattr: remove unused anonymous enum

Qingfang Deng (1):
jffs2: fix use of uninitialized variable

Shen Lichuan (2):
ubifs: Convert to use ERR_CAST()
jffs2: Correct some typos in comments

Suraj Sonawane (1):
fs: jffs2: Fix inconsistent indentation in jffs2_mark_node_obsolete

Thorsten Blum (1):
jffs2: Use str_yes_no() helper function

Waqar Hameed (1):
ubifs: authentication: Fix use-after-free in ubifs_tnc_end_commit

Zhang Zekun (1):
mtd: ubi: Rmove unused declaration in header file

Zhihao Cheng (6):
ubifs: ubifs_jnl_write_inode: Only check once for the limitation of xattr count
ubifs: Remove ineffective function ubifs_evict_xattr_inode()
ubi: wl: Put source PEB into correct list if trying locking LEB failed
ubi: fastmap: wl: Schedule fm_work if wear-leveling pool is empty
ubifs: Correct the total block count by deducting journal reservation
ubi: fastmap: Fix duplicate slab cache names while attaching

drivers/mtd/ubi/attach.c | 12 ++++++------
drivers/mtd/ubi/fastmap-wl.c | 19 ++++++++++++++++---
drivers/mtd/ubi/nvmem.c | 2 +-
drivers/mtd/ubi/ubi.h | 3 ++-
drivers/mtd/ubi/vmt.c | 2 ++
drivers/mtd/ubi/wl.c | 32 +++++++++++++++++++++++++++++--
drivers/mtd/ubi/wl.h | 3 ++-
fs/jffs2/compr_rtime.c | 3 +++
fs/jffs2/compr_rubin.c | 5 -----
fs/jffs2/erase.c | 7 +++----
fs/jffs2/gc.c | 2 +-
fs/jffs2/nodemgmt.c | 17 +++++++++--------
fs/jffs2/readinode.c | 2 +-
fs/ubifs/ioctl.c | 6 ------
fs/ubifs/journal.c | 13 +++++++------
fs/ubifs/lpt_commit.c | 4 ++--
fs/ubifs/orphan.c | 2 +-
fs/ubifs/super.c | 8 +++++---
fs/ubifs/tnc.c | 2 --
fs/ubifs/tnc_commit.c | 2 ++
fs/ubifs/ubifs.h | 3 ---
fs/ubifs/xattr.c | 45 +++-----------------------------------------
22 files changed, 96 insertions(+), 98 deletions(-)