summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-08-05 08:54:29 +0000
committerjeff <jeff@FreeBSD.org>2002-08-05 08:54:29 +0000
commitfcdac052f8a3e4ce3c2d8b95e8b646ef97392714 (patch)
treea0ea34ca7e16f655d4e493b79d3af3f894e69707 /sys/nfsclient
parent9281a6c0db13e4c2d927dc7200958e0bc59c4124 (diff)
downloadFreeBSD-src-fcdac052f8a3e4ce3c2d8b95e8b646ef97392714.zip
FreeBSD-src-fcdac052f8a3e4ce3c2d8b95e8b646ef97392714.tar.gz
- Add a missing VI_UNLOCK to an error case in nfs_flush.
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/nfs_vnops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c
index 37b9264..66d142b 100644
--- a/sys/nfsclient/nfs_vnops.c
+++ b/sys/nfsclient/nfs_vnops.c
@@ -2814,6 +2814,7 @@ loop:
slpflag | (PRIBIO + 1), "nfsfsync", slptimeo);
if (error) {
if (nfs_sigintr(nmp, NULL, td)) {
+ VI_UNLOCK(vp);
error = EINTR;
goto done;
}
OpenPOWER on IntegriCloud