[PATCH 00/13] fs: fixes found by file system conformance tests

Sascha Hauer s.hauer at pengutronix.de
Wed Nov 18 06:51:50 PST 2026


I am currently working on filesystem conformance tests and removal of
the legacy filesystem layer. While this is not ready yet, here are
fixes for several issues that the tests have found.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
Sascha Hauer (13):
      fs: ramfs: zero the rest of a chunk when truncating
      fs: fat: zero-fill files grown by truncate
      fs: keep the file size when O_TRUNC fails
      fs: legacy: return -EPERM when a driver can't create symlinks
      fs: uimagefs: allow opening a file more than once
      fs: nfs: drop the write and truncate stubs
      fs: fat: fix building without CONFIG_FS_FAT_LFN
      fs: bpkfs: skip the data of ignored duplicates
      fs: bpkfs: allow opening a file more than once
      fs: bpkfs: make room for the NUL after the checksum string
      fs: pstore: read from the file position
      fs: pstore: don't free the records when unmounting
      fs: efivarfs: zero-fill variables grown by truncate

 fs/bpkfs.c         | 49 ++++++++++++++++++++++++++++++++--------------
 fs/efivarfs.c      |  5 ++++-
 fs/fat/fat.c       | 57 ++++++++++++++++++++++++++++++++++++++++++++----------
 fs/fs.c            |  2 +-
 fs/legacy.c        |  3 ++-
 fs/nfs.c           | 12 ------------
 fs/pstore/fs.c     | 25 +-----------------------
 fs/ramfs.c         |  8 ++++++++
 fs/uimagefs.c      | 36 ++++++++++++++++++++++++++--------
 include/bpkfs.h    |  4 ++--
 include/uimagefs.h |  1 -
 11 files changed, 128 insertions(+), 74 deletions(-)
---
base-commit: 09dbb295e9107a256d73e218dca96f420f4e344d
change-id: 20261118-fs-conformance-fixes-e768eedf4a27

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list