svn commit: r349699 - stable/12/sys/fs/smbfs

Mark Johnston markj at FreeBSD.org
Wed Jul 3 20:14:44 UTC 2019


Author: markj
Date: Wed Jul  3 20:14:43 2019
New Revision: 349699
URL: https://svnweb.freebsd.org/changeset/base/349699

Log:
  MFC r349334:
  Remove a lingering use of splbio().

Modified:
  stable/12/sys/fs/smbfs/smbfs_io.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/fs/smbfs/smbfs_io.c
==============================================================================
--- stable/12/sys/fs/smbfs/smbfs_io.c	Wed Jul  3 20:05:25 2019	(r349698)
+++ stable/12/sys/fs/smbfs/smbfs_io.c	Wed Jul  3 20:14:43 2019	(r349699)
@@ -375,9 +375,6 @@ smbfs_doio(struct vnode *vp, struct buf *bp, struct uc
 		 */
 		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 uc
 			}
 			if ((bp->b_flags & B_ASYNC) == 0)
 			    bp->b_flags |= B_EINTR;
-			splx(s);
 		} else {
 			if (error) {
 				bp->b_ioflags |= BIO_ERROR;


More information about the svn-src-all mailing list