summaryrefslogtreecommitdiffstats
path: root/sys/fs/smbfs
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/smbfs
parent43f0dbec3ceba881973c7fa78183a30a555ba716 (diff)
downloadFreeBSD-src-02df7323ee036c2be0e7631cf9409b60dfd8c639.zip
FreeBSD-src-02df7323ee036c2be0e7631cf9409b60dfd8c639.tar.gz
Remove unused B_WRITEINPROG flag
Diffstat (limited to 'sys/fs/smbfs')
-rw-r--r--sys/fs/smbfs/smbfs_io.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/fs/smbfs/smbfs_io.c b/sys/fs/smbfs/smbfs_io.c
index 752e858..e43cef9 100644
--- a/sys/fs/smbfs/smbfs_io.c
+++ b/sys/fs/smbfs/smbfs_io.c
@@ -353,9 +353,7 @@ smbfs_doio(struct vnode *vp, struct buf *bp, struct ucred *cr, struct thread *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 = smb_write(smp->sm_share, np->n_fid, uiop, &scred);
- bp->b_flags &= ~B_WRITEINPROG;
/*
* For an interrupted write, the buffer is still valid
OpenPOWER on IntegriCloud