[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/52828 CVS commit: [netbsd-8] src/usr.sbin/makefs
The following reply was made to PR bin/52828; it has been noted by GNATS.
From: "Martin Husemann" <martin%netbsd.org@localhost>
Subject: PR/52828 CVS commit: [netbsd-8] src/usr.sbin/makefs
Date: Sat, 9 Jun 2018 14:35:21 +0000
Module Name: src
Committed By: martin
Date: Sat Jun 9 14:35:21 UTC 2018
src/usr.sbin/makefs [netbsd-8]: ffs.c
Pull up following revision(s) (requested by maya in ticket #858):
usr.sbin/makefs/ffs.c: revision 1.70
PR/52828: Mark Johnston: makefs UFS2 lazy inode initialization is buggy
makefs(8) emulates UFS2 in performing lazy initialization of inode
blocks when allocating and writing inodes. However, it only ever
initializes one inode block at a time, which may be insufficient.
If so, a later initialization may clobber an inode, resulting in
an inconsistent filesystem.
I committed a minimal fix for the problem to FreeBSD:
To generate a diff of this commit:
cvs rdiff -u -r1.69 -r184.108.40.206 src/usr.sbin/makefs/ffs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |