diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-04-02 15:24:56 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-04-02 15:24:56 +0000 |
commit | c244d2de435ed1913d6a7da017b205bffb44b36d (patch) | |
tree | 46bc33c5a3d3f0f652e9af40acac38ed8c4492c6 /sys/fs/nwfs/nwfs_io.c | |
parent | 4c9805fafa5fb041fa369df26cd26fee579223fe (diff) | |
download | src-c244d2de435ed1913d6a7da017b205bffb44b36d.tar.gz src-c244d2de435ed1913d6a7da017b205bffb44b36d.zip |
Move B_ERROR flag to b_ioflags and call it BIO_ERROR.
(Much of this done by script)
Move B_ORDERED flag to b_ioflags and call it BIO_ORDERED.
Move b_pblkno and b_iodone_chain to struct bio while we transition, they
will be obsoleted once bio structs chain/stack.
Add bio_queue field for struct bio aware disksort.
Address a lot of stylistic issues brought up by bde.
Notes
Notes:
svn path=/head/; revision=58934
Diffstat (limited to 'sys/fs/nwfs/nwfs_io.c')
-rw-r--r-- | sys/fs/nwfs/nwfs_io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/nwfs/nwfs_io.c b/sys/fs/nwfs/nwfs_io.c index 6f7a6c8aadc8..ab24a299a21e 100644 --- a/sys/fs/nwfs/nwfs_io.c +++ b/sys/fs/nwfs/nwfs_io.c @@ -311,7 +311,7 @@ nwfs_doio(bp, cr, p) break; }; if (error) { - bp->b_flags |= B_ERROR; + bp->b_ioflags |= BIO_ERROR; bp->b_error = error; } } else { /* write */ @@ -330,7 +330,7 @@ nwfs_doio(bp, cr, p) /* * For an interrupted write, the buffer is still valid * and the write hasn't been pushed to the server yet, - * so we can't set B_ERROR and report the interruption + * so we can't set BIO_ERROR and report the interruption * by setting B_EINTR. For the B_ASYNC case, B_EINTR * is not relevant, so the rpc attempt is essentially * a noop. For the case of a V3 write rpc not being @@ -357,7 +357,7 @@ nwfs_doio(bp, cr, p) splx(s); } else { if (error) { - bp->b_flags |= B_ERROR; + bp->b_ioflags |= BIO_ERROR; bp->b_error /*= np->n_error */= error; /* np->n_flag |= NWRITEERR;*/ } |