CVS commit: src/sys/ufs/lfs

"Konrad Schroder" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	perseant
Date:		Fri Aug 28 23:02:30 UTC 2026

Modified Files:
	src/sys/ufs/lfs: lfs_pages.c

Log Message:
Mark inode modified in lfs_putpages, when there are dirty pages.
This ensures the inode is written after the pages, avoiding a situation
that manifests as files mysteriously reverted (often to zero length)
and "SEGMENT %d CLAIMS %d BYTES BUT HAS %d (HIGH BY %d)" errors from fsck_lfs
pass 5.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/ufs/lfs/lfs_pages.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.