NetBSD-Bugs archive

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

PR/50607 CVS commit: src/sys/ufs/ext2fs



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

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/50607 CVS commit: src/sys/ufs/ext2fs
Date: Tue, 12 Jan 2016 21:29:29 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Tue Jan 12 21:29:29 UTC 2016
 
 Modified Files:
 	src/sys/ufs/ext2fs: ext2fs_lookup.c
 
 Log Message:
 Use buffer cache, not page cache, to expand directories in ext2fs.
 
 Candidate fix for PR kern/50607, PR port-evbmips/50059.
 
 Formerly VOP_WRITE-->ext2fs_write would automatically dispatch to
 this code path for writes to directories, but I broke that in
 ext2fs_lookup.c rev. 1.78 when disentangling page-cached and
 buffer-cached writes.
 
 This was not a problem in ufs, and I didn't notice it in ext2fs,
 because ufs consistently used buffercache(9) directly instead of
 using VOP_WRITE sometimes as ext2fs did.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.78 -r1.79 src/sys/ufs/ext2fs/ext2fs_lookup.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