NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/57010 CVS commit: src/sys/ufs/ffs



The following reply was made to PR kern/57010; it has been noted by GNATS.

From: "Juergen Hannken-Illjes" <hannken%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/57010 CVS commit: src/sys/ufs/ffs
Date: Thu, 10 Nov 2022 10:53:29 +0000

 Module Name:	src
 Committed By:	hannken
 Date:		Thu Nov 10 10:53:29 UTC 2022
 
 Modified Files:
 	src/sys/ufs/ffs: ffs_vfsops.c
 
 Log Message:
 Some changes to "fs->fs_fmod" and "fs->fs_clean":
 - clear "fs->fs_fmod" after reading the super block.
 - assert we don't write a super block when mounted read-only.
 - make sure "fs->fs_clean" is one of FS_ISCLEAN or FS_WASCLEAN.
 - print "file system not clean" on every mount.
 
 Should fix PR kern/57010: ffs: mounting unclean non-root fs read-only
 causes spurious write to superblock
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.376 -r1.377 src/sys/ufs/ffs/ffs_vfsops.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index