[PATCH v2 11/34] hfs: don't set SB_RDONLY after MDB write errors
Christian Brauner
brauner at kernel.org
Wed Nov 11 01:33:43 PST 2026
On Fri, Oct 30, 2026 at 04:09:57PM +0000, sashiko-bot at kernel.org wrote:
> Returning early at the top of hfs_file_truncate() skips the out: label
> adjustments as well, leaving HFS_I(inode)->phys_size,
> HFS_I(inode)->fs_blocks, and the inode byte count inflated past
> inode->i_size.
That's all in-memory state. hfs_write_inode() and hfs_mdb_commit()
refuse after the error. None of it reaches the disk.
More information about the linux-mtd
mailing list