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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to