- Add a missing VI_UNLOCK to an error case in nfs_flush.

This commit is contained in:
jeff 2002-08-05 08:54:29 +00:00
parent 485229daf6
commit fb8b5b8741

View File

@ -2814,6 +2814,7 @@ nfs_flush(struct vnode *vp, struct ucred *cred, int waitfor, struct thread *td,
slpflag | (PRIBIO + 1), "nfsfsync", slptimeo);
if (error) {
if (nfs_sigintr(nmp, NULL, td)) {
VI_UNLOCK(vp);
error = EINTR;
goto done;
}