diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2017-04-06 12:44:34 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2017-04-06 12:44:34 +0000 |
commit | a046da7e90052bb30679ae1f0f1c3187d7a5aaee (patch) | |
tree | 22be7ff3ec43118ca8914e2be7edb0dc8d4d70ca /sys/fs/nfsclient/nfs_clbio.c | |
parent | 480e2fd3d56f61ba83ee7aa04bd14bbc0a07aa3e (diff) | |
download | src-a046da7e90052bb30679ae1f0f1c3187d7a5aaee.tar.gz src-a046da7e90052bb30679ae1f0f1c3187d7a5aaee.zip |
Remove spl*() calls from the nfsclient code. Style adjustments in the
related lines in ncl_writebp().
Reviewed by: rmacklem
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=316566
Diffstat (limited to 'sys/fs/nfsclient/nfs_clbio.c')
-rw-r--r-- | sys/fs/nfsclient/nfs_clbio.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/fs/nfsclient/nfs_clbio.c b/sys/fs/nfsclient/nfs_clbio.c index 083da69bbc0d..df3aea9681bb 100644 --- a/sys/fs/nfsclient/nfs_clbio.c +++ b/sys/fs/nfsclient/nfs_clbio.c @@ -1811,9 +1811,6 @@ ncl_doio(struct vnode *vp, struct buf *bp, struct ucred *cr, struct thread *td, */ if (error == EINTR || error == EIO || error == ETIMEDOUT || (!error && (bp->b_flags & B_NEEDCOMMIT))) { - int s; - - s = splbio(); bp->b_flags &= ~(B_INVAL|B_NOCACHE); if ((bp->b_flags & B_PAGING) == 0) { bdirty(bp); @@ -1822,7 +1819,6 @@ ncl_doio(struct vnode *vp, struct buf *bp, struct ucred *cr, struct thread *td, if ((error == EINTR || error == ETIMEDOUT) && (bp->b_flags & B_ASYNC) == 0) bp->b_flags |= B_EINTR; - splx(s); } else { if (error) { bp->b_ioflags |= BIO_ERROR; |