Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 07/29/2007 13:31:18
Module Name:	src
Committed By:	ad
Date:		Sun Jul 29 13:31:18 UTC 2007

Modified Files:
	src/sys/arch/amiga/dev: fd.c
	src/sys/arch/dreamcast/dev/maple: mmemcard.c
	src/sys/dev/ieee1394: firewirereg.h fwdev.c fwmem.c
	src/sys/fs/cd9660: cd9660_vnops.c
	src/sys/fs/efs: efs_vnops.c
	src/sys/fs/ntfs: ntfs_vnops.c
	src/sys/fs/puffs: puffs_subr.c puffs_vnops.c
	src/sys/fs/smbfs: smbfs_io.c
	src/sys/fs/sysvbfs: sysvbfs_vnops.c
	src/sys/fs/udf: udf_subr.c
	src/sys/miscfs/deadfs: dead_vnops.c
	src/sys/miscfs/specfs: spec_vnops.c
	src/sys/nfs: nfs_bio.c
	src/sys/ufs/ffs: ffs_softdep.c
	src/sys/ufs/lfs: lfs_bio.c lfs_segment.c lfs_vfsops.c lfs_vnops.c
	src/sys/ufs/mfs: mfs_vnops.c
	src/sys/ufs/ufs: ufs_vnops.c
	src/sys/uvm: uvm_pager.c uvm_swap.c

Log Message:
It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.


To generate a diff of this commit:
cvs rdiff -r1.71 -r1.72 src/sys/arch/amiga/dev/fd.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/dreamcast/dev/maple/mmemcard.c
cvs rdiff -r1.5 -r1.6 src/sys/dev/ieee1394/firewirereg.h
cvs rdiff -r1.10 -r1.11 src/sys/dev/ieee1394/fwdev.c
cvs rdiff -r1.4 -r1.5 src/sys/dev/ieee1394/fwmem.c
cvs rdiff -r1.26 -r1.27 src/sys/fs/cd9660/cd9660_vnops.c
cvs rdiff -r1.3 -r1.4 src/sys/fs/efs/efs_vnops.c
cvs rdiff -r1.34 -r1.35 src/sys/fs/ntfs/ntfs_vnops.c
cvs rdiff -r1.42 -r1.43 src/sys/fs/puffs/puffs_subr.c
cvs rdiff -r1.93 -r1.94 src/sys/fs/puffs/puffs_vnops.c
cvs rdiff -r1.25 -r1.26 src/sys/fs/smbfs/smbfs_io.c
cvs rdiff -r1.12 -r1.13 src/sys/fs/sysvbfs/sysvbfs_vnops.c
cvs rdiff -r1.35 -r1.36 src/sys/fs/udf/udf_subr.c
cvs rdiff -r1.43 -r1.44 src/sys/miscfs/deadfs/dead_vnops.c
cvs rdiff -r1.102 -r1.103 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -r1.163 -r1.164 src/sys/nfs/nfs_bio.c
cvs rdiff -r1.95 -r1.96 src/sys/ufs/ffs/ffs_softdep.c
cvs rdiff -r1.102 -r1.103 src/sys/ufs/lfs/lfs_bio.c
cvs rdiff -r1.202 -r1.203 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.242 -r1.243 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.209 -r1.210 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -r1.44 -r1.45 src/sys/ufs/mfs/mfs_vnops.c
cvs rdiff -r1.154 -r1.155 src/sys/ufs/ufs/ufs_vnops.c
cvs rdiff -r1.84 -r1.85 src/sys/uvm/uvm_pager.c
cvs rdiff -r1.128 -r1.129 src/sys/uvm/uvm_swap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.