Skip to contentSkip to conversation

JFFS2, UBI and UBIFS fixes for 5.18

GIT PULL Merged Richard Weinberger 2 participants 2 messages Mar 31, 2022 Memory technology devices (MTD)

lore
Share & tools
lore

Richard Weinberger

author maintainer
#0 lore raw

Linus,

The following changes since commit aa39cc675799bc92da153af9a13d6f969c348e82:

jffs2: GC deadlock reading a page that is used in jffs2_write_begin() (2021-12-23 22:33:41 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 705757274599e2e064dd3054aabc74e8af31a095:

ubifs: rename_whiteout: correct old_dir size computing (2022-03-17 23:34:07 +0100)

Please note that there is a minor merge conflict with the folio tree tree between commits
3b67db8a6ca8 ("ubifs: Fix to add refcount once page is set private") and
c337f2f4f746 ("ubifs: Convert from invalidatepage to invalidate_folio").

I'll happily review your merge resolution.

----------------------------------------------------------------
This pull request contains fixes for JFFS2, UBI and UBIFS

JFFS2:
- Fixes for various memory issues

UBI:
- Fix for a race condition in cdev ioctl handler

UBIFS:
- Fixes for O_TMPFILE and whiteout handling
- Fixes for various memory issues

----------------------------------------------------------------
Baokun Li (5):
ubi: Fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctl
jffs2: fix use-after-free in jffs2_clear_xattr_subsystem
jffs2: fix memory leak in jffs2_do_mount_fs
jffs2: fix memory leak in jffs2_scan_medium
ubifs: rename_whiteout: correct old_dir size computing

Zhihao Cheng (11):
ubifs: rename_whiteout: Fix double free for whiteout_ui->data
ubifs: Fix deadlock in concurrent rename whiteout and inode writeback
ubifs: Fix wrong number of inodes locked by ui_mutex in ubifs_inode comment
ubifs: Add missing iput if do_tmpfile() failed in rename whiteout
ubifs: Rename whiteout atomically
ubifs: Fix 'ui->dirty' race between do_tmpfile() and writeback work
ubifs: Rectify space amount budget for mkdir/tmpfile operations
ubifs: setflags: Make dirtied_ino_d 8 bytes aligned
ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock()
ubifs: Fix to add refcount once page is set private
ubi: fastmap: Return error code if memory allocation fails in add_aeb()

hongnanli (1):
fs/jffs2: fix comments mentioning i_mutex

 drivers/mtd/ubi/build.c   |   9 +-
 drivers/mtd/ubi/fastmap.c |  28 ++++--
 drivers/mtd/ubi/vmt.c     |   8 +-
 fs/jffs2/build.c          |   4 +-
 fs/jffs2/fs.c             |   2 +-
 fs/jffs2/jffs2_fs_i.h     |   4 +-
 fs/jffs2/scan.c           |   6 +-
 fs/ubifs/dir.c            | 238 ++++++++++++++++++++++++++++------------------
 fs/ubifs/file.c           |  14 +--
 fs/ubifs/io.c             |  34 ++++++-
 fs/ubifs/ioctl.c          |   2 +-
 fs/ubifs/journal.c        |  52 ++++++++--
 fs/ubifs/ubifs.h          |   2 +-
 13 files changed, 259 insertions(+), 144 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Thu, 31 Mar 2022 23:04:20 +0200 (CEST):

The pull request you sent on Thu, 31 Mar 2022 23:04:20 +0200 (CEST):

Quoted 1 line

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

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

Thank you!

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