mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] fs: reject inodes whose size the superblock cannot address
@ 2026-09-08  8:32 Sascha Hauer
  2026-09-08  8:32 ` [PATCH 1/2] fs: track streaming and unknown-size files in dedicated inode fields Sascha Hauer
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Sascha Hauer @ 2026-09-08  8:32 UTC (permalink / raw)
  To: BAREBOX

This is a continuation of the patch previously sent as a single patch.

Additionally I added a patch cleaning up the FILE_SIZE_STREAM disambiguity.
The problem is that we overloaded the inode size with a flag indicating
that the inode belongs to a stream with undefined file size. The new
patch solves this by adding extra flags to struct inode.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
Sascha Hauer (2):
      fs: track streaming and unknown-size files in dedicated inode fields
      fs: reject inodes whose size the superblock cannot address

 fs/devfs.c         |  7 ++++++-
 fs/fs.c            | 37 +++++++++++++++++++++++++++++++++----
 fs/tftp.c          |  2 +-
 include/linux/fs.h |  2 ++
 4 files changed, 42 insertions(+), 6 deletions(-)
---
base-commit: 42e510a258d7c276c35f06c103e685c80d376eab
change-id: 20260908-fs-filesize-fixes-2f932f665027

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-09-11 14:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-08  8:32 [PATCH 0/2] fs: reject inodes whose size the superblock cannot address Sascha Hauer
2026-09-08  8:32 ` [PATCH 1/2] fs: track streaming and unknown-size files in dedicated inode fields Sascha Hauer
2026-09-08  8:50   ` Ahmad Fatoum
2026-09-08  8:32 ` [PATCH 2/2] fs: reject inodes whose size the superblock cannot address Sascha Hauer
2026-09-08  8:55   ` Ahmad Fatoum
2026-09-11 14:04 ` [PATCH 0/2] " Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox