[PATCH 0/4] Assorted UBIFS fixes

From: Richard Weinberger
Date: Fri Jan 22 2021 - 16:36:35 EST


I'm currently hunting down a filesystem corruption, while reviewing
various parts of UBIFS I've found some other bugs.
This patches fix these bugs. In another series I'll add a feature to
be able to remove stale fscrypt contexts and wrong directory size counters.

Richard Weinberger (4):
ubifs: Correctly set inode size in ubifs_link()
ubifs: Don't add fscrypt context to xattrs
ubifs: Update directory size when creating whiteouts
ubifs: Harden ubifs_jnl_write_inode()

fs/ubifs/dir.c | 31 ++++++++++++++++++++-----------
fs/ubifs/journal.c | 6 +++++-
fs/ubifs/ubifs.h | 2 +-
fs/ubifs/xattr.c | 2 +-
4 files changed, 27 insertions(+), 14 deletions(-)

--
2.26.2