Fix a bug nfs_write() related to ^C'ing during a file write on an
interruptable mount. We were returning from inside the loop without releasing the rslock. Submitted by: Mike Junk <junk@isilon.com> MFC after: 3 days
This commit is contained in:
parent
072e9cbb50
commit
8e0619c6b0
@ -930,8 +930,10 @@ again:
|
||||
|
||||
if (bp->b_dirtyend > 0 &&
|
||||
(on > bp->b_dirtyend || (on + n) < bp->b_dirtyoff)) {
|
||||
if (BUF_WRITE(bp) == EINTR)
|
||||
return (EINTR);
|
||||
if (BUF_WRITE(bp) == EINTR) {
|
||||
error = EINTR;
|
||||
break;
|
||||
}
|
||||
goto again;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user