svn commit: r318266 - stable/11/sys/ufs/ffs
Konstantin Belousov
kib at FreeBSD.org
Sun May 14 11:51:32 UTC 2017
Author: kib
Date: Sun May 14 11:51:30 2017
New Revision: 318266
URL: https://svnweb.freebsd.org/changeset/base/318266
Log:
MFC r317908:
Remove spl() calls from UFS code.
Modified:
stable/11/sys/ufs/ffs/ffs_rawread.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/ufs/ffs/ffs_rawread.c
==============================================================================
--- stable/11/sys/ufs/ffs/ffs_rawread.c Sun May 14 10:48:47 2017 (r318265)
+++ stable/11/sys/ufs/ffs/ffs_rawread.c Sun May 14 11:51:30 2017 (r318266)
@@ -270,7 +270,6 @@ ffs_rawread_main(struct vnode *vp,
int error, nerror;
struct buf *bp, *nbp, *tbp;
u_int iolen;
- int spl;
caddr_t udata;
long resid;
off_t offset;
@@ -330,10 +329,7 @@ ffs_rawread_main(struct vnode *vp,
}
}
- spl = splbio();
bwait(bp, PRIBIO, "rawrd");
- splx(spl);
-
vunmapbuf(bp);
iolen = bp->b_bcount - bp->b_resid;
@@ -400,9 +396,7 @@ ffs_rawread_main(struct vnode *vp,
relpbuf(bp, &ffsrawbufcnt);
}
if (nbp != NULL) { /* Run down readahead buffer */
- spl = splbio();
bwait(nbp, PRIBIO, "rawrd");
- splx(spl);
vunmapbuf(nbp);
pbrelvp(nbp);
relpbuf(nbp, &ffsrawbufcnt);
More information about the svn-src-stable-11
mailing list