aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2019-06-25 06:14:00 +0000
committerWarner Losh <imp@FreeBSD.org>2019-06-25 06:14:00 +0000
commite5500f1efa890973547b917fdb9308947daca2c8 (patch)
treeb0940c31eaff4f30bf2e7ba66df03dc9dc85e57b /sys
parent912a01b36dfff365606ede479f4db2c29e0db601 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/fs/smbfs/smbfs_io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/fs/smbfs/smbfs_io.c b/sys/fs/smbfs/smbfs_io.c
index 4edba5c761e7f..fa6a140242137 100644
--- a/sys/fs/smbfs/smbfs_io.c
+++ b/sys/fs/smbfs/smbfs_io.c
@@ -375,9 +375,6 @@ smbfs_doio(struct vnode *vp, struct buf *bp, struct ucred *cr, struct thread *td
*/
if (error == EINTR
|| (!error && (bp->b_flags & B_NEEDCOMMIT))) {
- int s;
-
- s = splbio();
bp->b_flags &= ~(B_INVAL|B_NOCACHE);
if ((bp->b_flags & B_ASYNC) == 0)
bp->b_flags |= B_EINTR;
@@ -387,7 +384,6 @@ smbfs_doio(struct vnode *vp, struct buf *bp, struct ucred *cr, struct thread *td
}
if ((bp->b_flags & B_ASYNC) == 0)
bp->b_flags |= B_EINTR;
- splx(s);
} else {
if (error) {
bp->b_ioflags |= BIO_ERROR;