[GIT PULL] UBIFS changes for 5.6-rc1
From: Miquel Raynal
Date: Thu Jan 30 2020 - 15:14:41 EST
Hello Linus,
This is the UBI/UBIFS PR for 5.6, sent on behalf of Richard.
Thanks,
MiquÃl
The following changes since commit b3a987b0264d3ddbb24293ebff10eddfc472f653:
Linux 5.5-rc6 (2020-01-12 16:55:08 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git tags/upstream-5.6-rc1
for you to fetch changes up to 5d3805af279c93ef49a64701f35254676d709622:
ubi: Fix an error pointer dereference in error handling code (2020-01-19 23:23:28 +0100)
----------------------------------------------------------------
This pull request contains mostly fixes for UBI and UBIFS:
UBI:
- Fixes for memory leaks in error paths
- Fix for an logic error in a fastmap selfcheck
UBIFS:
- Fix for FS_IOC_SETFLAGS related to fscrypt flag
- Support for FS_ENCRYPT_FL
- Fix for a dead lock in bulk-read mode
----------------------------------------------------------------
Dan Carpenter (1):
ubi: Fix an error pointer dereference in error handling code
Eric Biggers (2):
ubifs: Fix FS_IOC_SETFLAGS unexpectedly clearing encrypt flag
ubifs: Add support for FS_ENCRYPT_FL
Geert Uytterhoeven (1):
ubifs: Fix ino_t format warnings in orphan_delete()
Hou Tao (2):
ubi: Check the presence of volume before call ubi_fastmap_destroy_checkmap()
ubi: Free the normal volumes in error paths of ubi_attach_mtd_dev()
Quanyang Wang (1):
ubifs: Fix memory leak from c->sup_node
Sascha Hauer (2):
ubi: fastmap: Fix inverted logic in seen selfcheck
ubifs: Fix wrong memory allocation
YueHaibing (1):
ubi: wl: Remove set but not used variable 'prev_e'
Zhihao Cheng (1):
ubifs: Fix deadlock in concurrent bulk-read and writepage
drivers/mtd/ubi/attach.c | 2 +-
drivers/mtd/ubi/build.c | 31 ++++++++++++++++++++++++++-----
drivers/mtd/ubi/fastmap.c | 23 +++++++++++++----------
drivers/mtd/ubi/ubi.h | 1 +
drivers/mtd/ubi/vtbl.c | 8 ++------
drivers/mtd/ubi/wl.c | 3 +--
fs/ubifs/file.c | 4 +++-
fs/ubifs/ioctl.c | 14 +++++++++++---
fs/ubifs/orphan.c | 4 ++--
fs/ubifs/sb.c | 2 +-
fs/ubifs/super.c | 2 ++
11 files changed, 63 insertions(+), 31 deletions(-)