summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-09-15 21:49:22 +0000
committerphk <phk@FreeBSD.org>2004-09-15 21:49:22 +0000
commit02df7323ee036c2be0e7631cf9409b60dfd8c639 (patch)
treed92ca2a67056cb64f883fc30e23e54e07c558b3a /sys/fs/nwfs
parent43f0dbec3ceba881973c7fa78183a30a555ba716 (diff)
downloadFreeBSD-src-02df7323ee036c2be0e7631cf9409b60dfd8c639.zip
FreeBSD-src-02df7323ee036c2be0e7631cf9409b60dfd8c639.tar.gz
Remove unused B_WRITEINPROG flag
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r--sys/fs/nwfs/nwfs_io.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/fs/nwfs/nwfs_io.c b/sys/fs/nwfs/nwfs_io.c
index 6b0d563..759bb8c 100644
--- a/sys/fs/nwfs/nwfs_io.c
+++ b/sys/fs/nwfs/nwfs_io.c
@@ -328,9 +328,7 @@ nwfs_doio(vp, bp, cr, td)
uiop->uio_offset = ((off_t)bp->b_blkno) * DEV_BSIZE + bp->b_dirtyoff;
io.iov_base = (char *)bp->b_data + bp->b_dirtyoff;
uiop->uio_rw = UIO_WRITE;
- bp->b_flags |= B_WRITEINPROG;
error = ncp_write(NWFSTOCONN(nmp), &np->n_fh, uiop, cr);
- bp->b_flags &= ~B_WRITEINPROG;
/*
* For an interrupted write, the buffer is still valid
OpenPOWER on IntegriCloud