[GIT PULL] UBI and UBIFS fixes for 5.10

From: Richard Weinberger
Date: Sat Oct 17 2020 - 15:37:56 EST


Linus,

sorry for sending you two UBIFS pull requests.
for-linus-5.10-rc1-part2 is material from my fixes branch, the plan
was sending it before the merge window closes but I got badly interrupted.
Therefore I'm sending it parallel to my regular UBIFS pull request.

The following changes since commit e4c26faa426c17274884f759f708bc9ee22fd59a:

Merge tag 'usb-5.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb (2020-09-13 09:23:54 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 78c7d49f55d8631b67c09f9bfbe8155211a9ea06:

ubifs: journal: Make sure to not dirty twice for auth nodes (2020-09-29 10:43:05 +0200)

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

UBI:
- Correctly use kthread_should_stop in ubi worker

UBIFS:

- Fixes for memory leaks while iterating directory entries
- Fix for a user triggerable error message
- Fix for a space accounting bug in authenticated mode

----------------------------------------------------------------
Richard Weinberger (1):
ubifs: journal: Make sure to not dirty twice for auth nodes

Zhihao Cheng (5):
ubifs: xattr: Fix some potential memory leaks while iterating entries
ubifs: dent: Fix some potential memory leaks while iterating entries
ubi: check kthread_should_stop() after the setting of task state
ubifs: ubifs_jnl_change_xattr: Remove assertion 'nlink > 0' for host inode
ubifs: setflags: Don't show error message when vfs_ioc_setflags_prepare() fails

drivers/mtd/ubi/wl.c | 13 +++++++++++++
fs/ubifs/debug.c | 1 +
fs/ubifs/ioctl.c | 1 -
fs/ubifs/journal.c | 7 ++++---
fs/ubifs/orphan.c | 2 ++
fs/ubifs/tnc.c | 3 +++
fs/ubifs/xattr.c | 2 ++
7 files changed, 25 insertions(+), 4 deletions(-)