Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   ad
Date:           Sun Jul 29 12:15:46 UTC 2007

Modified Files:
        src/sys/arch/acorn32/mainbus: fd.c
        src/sys/arch/algor/algor: disksubr.c
        src/sys/arch/alpha/alpha: disksubr.c
        src/sys/arch/amiga/dev: fd.c
        src/sys/arch/arc/arc: disksubr.c
        src/sys/arch/arc/jazz: fd.c
        src/sys/arch/arm/arm: disksubr.c
        src/sys/arch/atari/dev: fd.c hdfd.c md_root.c
        src/sys/arch/bebox/bebox: disksubr.c
        src/sys/arch/cobalt/cobalt: disksubr.c
        src/sys/arch/dreamcast/dev: gdrom.c
        src/sys/arch/dreamcast/dev/maple: mmemcard.c
        src/sys/arch/evbmips/evbmips: disksubr.c
        src/sys/arch/evbppc/evbppc: disksubr.c
        src/sys/arch/hp300/dev: ct.c mt.c rd.c
        src/sys/arch/hpc/hpc: disksubr.c
        src/sys/arch/mac68k/obio: iwm_fd.c
        src/sys/arch/mvmeppc/mvmeppc: disksubr.c
        src/sys/arch/playstation2/playstation2: disksubr.c
        src/sys/arch/pmppc/pmppc: disksubr.c
        src/sys/arch/sandpoint/sandpoint: disksubr.c
        src/sys/arch/sbmips/sbmips: disksubr.c
        src/sys/arch/sh3/sh3: disksubr.c
        src/sys/arch/sparc/dev: fd.c
        src/sys/arch/sparc64/dev: fdc.c
        src/sys/arch/sun3/dev: fd.c xd.c xy.c
        src/sys/arch/vax/uba: ts.c
        src/sys/arch/vax/vax: cfl.c crl.c ctu.c
        src/sys/arch/vax/vsa: hdc9224.c
        src/sys/arch/x68k/dev: bmd.c fd.c
        src/sys/arch/x68k/x68k: disksubr.c
        src/sys/arch/xen/xen: xbd_xenbus.c xbdback.c xbdback_xenbus.c
        src/sys/dev/gpib: ct.c mt.c rd.c
        src/sys/dev/mscp: mscp.c mscp_disk.c mscp_tape.c
        src/sys/dev/ofw: ofdisk.c
        src/sys/dev/qbus: qd.c rf.c rl.c ts.c
        src/sys/dev/spi: spiflash.c
        src/sys/dev/vme: xd.c xy.c
        src/sys/fs/adosfs: advnops.c
        src/sys/fs/filecorefs: filecore_vnops.c
        src/sys/kern: kern_physio.c subr_bufq.c subr_disk.c subr_disk_mbr.c
            vfs_bio.c
        src/sys/miscfs/genfs: genfs_vnops.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.29 -r1.30 src/sys/arch/acorn32/mainbus/fd.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/algor/algor/disksubr.c
cvs rdiff -r1.32 -r1.33 src/sys/arch/alpha/alpha/disksubr.c
cvs rdiff -r1.70 -r1.71 src/sys/arch/amiga/dev/fd.c
cvs rdiff -r1.24 -r1.25 src/sys/arch/arc/arc/disksubr.c
cvs rdiff -r1.30 -r1.31 src/sys/arch/arc/jazz/fd.c
cvs rdiff -r1.16 -r1.17 src/sys/arch/arm/arm/disksubr.c
cvs rdiff -r1.57 -r1.58 src/sys/arch/atari/dev/fd.c
cvs rdiff -r1.56 -r1.57 src/sys/arch/atari/dev/hdfd.c
cvs rdiff -r1.22 -r1.23 src/sys/arch/atari/dev/md_root.c
cvs rdiff -r1.20 -r1.21 src/sys/arch/bebox/bebox/disksubr.c
cvs rdiff -r1.19 -r1.20 src/sys/arch/cobalt/cobalt/disksubr.c
cvs rdiff -r1.21 -r1.22 src/sys/arch/dreamcast/dev/gdrom.c
cvs rdiff -r1.10 -r1.11 src/sys/arch/dreamcast/dev/maple/mmemcard.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/evbmips/evbmips/disksubr.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/evbppc/evbppc/disksubr.c
cvs rdiff -r1.48 -r1.49 src/sys/arch/hp300/dev/ct.c
cvs rdiff -r1.38 -r1.39 src/sys/arch/hp300/dev/mt.c
cvs rdiff -r1.81 -r1.82 src/sys/arch/hp300/dev/rd.c
cvs rdiff -r1.16 -r1.17 src/sys/arch/hpc/hpc/disksubr.c
cvs rdiff -r1.37 -r1.38 src/sys/arch/mac68k/obio/iwm_fd.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/mvmeppc/mvmeppc/disksubr.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/playstation2/playstation2/disksubr.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/pmppc/pmppc/disksubr.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/sandpoint/sandpoint/disksubr.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/sbmips/sbmips/disksubr.c
cvs rdiff -r1.23 -r1.24 src/sys/arch/sh3/sh3/disksubr.c
cvs rdiff -r1.134 -r1.135 src/sys/arch/sparc/dev/fd.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/sparc64/dev/fdc.c
cvs rdiff -r1.56 -r1.57 src/sys/arch/sun3/dev/fd.c
cvs rdiff -r1.57 -r1.58 src/sys/arch/sun3/dev/xd.c
cvs rdiff -r1.60 -r1.61 src/sys/arch/sun3/dev/xy.c
cvs rdiff -r1.32 -r1.33 src/sys/arch/vax/uba/ts.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/vax/vax/cfl.c
cvs rdiff -r1.20 -r1.21 src/sys/arch/vax/vax/crl.c
cvs rdiff -r1.26 -r1.27 src/sys/arch/vax/vax/ctu.c
cvs rdiff -r1.39 -r1.40 src/sys/arch/vax/vsa/hdc9224.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/x68k/dev/bmd.c
cvs rdiff -r1.76 -r1.77 src/sys/arch/x68k/dev/fd.c
cvs rdiff -r1.29 -r1.30 src/sys/arch/x68k/x68k/disksubr.c
cvs rdiff -r1.19 -r1.20 src/sys/arch/xen/xen/xbd_xenbus.c
cvs rdiff -r1.24 -r1.25 src/sys/arch/xen/xen/xbdback.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/xen/xen/xbdback_xenbus.c
cvs rdiff -r1.10 -r1.11 src/sys/dev/gpib/ct.c src/sys/dev/gpib/mt.c
cvs rdiff -r1.16 -r1.17 src/sys/dev/gpib/rd.c
cvs rdiff -r1.25 -r1.26 src/sys/dev/mscp/mscp.c
cvs rdiff -r1.55 -r1.56 src/sys/dev/mscp/mscp_disk.c
cvs rdiff -r1.30 -r1.31 src/sys/dev/mscp/mscp_tape.c
cvs rdiff -r1.36 -r1.37 src/sys/dev/ofw/ofdisk.c
cvs rdiff -r1.37 -r1.38 src/sys/dev/qbus/qd.c
cvs rdiff -r1.14 -r1.15 src/sys/dev/qbus/rf.c
cvs rdiff -r1.34 -r1.35 src/sys/dev/qbus/rl.c
cvs rdiff -r1.19 -r1.20 src/sys/dev/qbus/ts.c
cvs rdiff -r1.5 -r1.6 src/sys/dev/spi/spiflash.c
cvs rdiff -r1.68 -r1.69 src/sys/dev/vme/xd.c
cvs rdiff -r1.71 -r1.72 src/sys/dev/vme/xy.c
cvs rdiff -r1.23 -r1.24 src/sys/fs/adosfs/advnops.c
cvs rdiff -r1.19 -r1.20 src/sys/fs/filecorefs/filecore_vnops.c
cvs rdiff -r1.82 -r1.83 src/sys/kern/kern_physio.c
cvs rdiff -r1.12 -r1.13 src/sys/kern/subr_bufq.c
cvs rdiff -r1.87 -r1.88 src/sys/kern/subr_disk.c
cvs rdiff -r1.28 -r1.29 src/sys/kern/subr_disk_mbr.c
cvs rdiff -r1.173 -r1.174 src/sys/kern/vfs_bio.c
cvs rdiff -r1.155 -r1.156 src/sys/miscfs/genfs/genfs_vnops.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