fix crashes when mounting legacy file system with sector size > PAGE_SIZE
Christoph Hellwig <[email protected]> Mon, 11 May 2026 09:16:45 +0200
| Newsgroups | dev.linux.lists.ntfs3,org.kernel.vger.linux-fsdevel |
|---|---|
| Message-ID | <[email protected]> |
Hi all, due to an almost comical failure on my part, my work in progress test case failed to create any file system on a 64k block size loop device, and then tried to mount it, leading to a probe of file system built into my kernel. Roughly the first half of the series are file systems that actually crashed, but I fixed up all the pattern of missing error handling that I saw. Diffstat: affs/affs.h | 5 ----- affs/super.c | 6 ++++-- befs/linuxvfs.c | 3 ++- bfs/inode.c | 3 ++- hpfs/super.c | 3 ++- isofs/inode.c | 3 ++- jfs/super.c | 3 ++- minix/inode.c | 3 ++- ntfs3/super.c | 8 ++++++-- omfs/inode.c | 6 ++++-- qnx4/inode.c | 3 ++- 11 files changed, 28 insertions(+), 18 deletions(-)