summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1997-10-17 12:16:43 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1997-10-17 12:16:43 +0000
commit34e0dfbebd024ba884297bc5e2626ba2df22efc3 (patch)
tree47ebcfadf59a8173dae774513f9f089f76e0e646
parent159277267f436d1c304d2cccd7498373ec558d10 (diff)
Notes
-rw-r--r--sys/nfs/nfs_vfsops.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c
index 767f34f9109a..0badc2a058b9 100644
--- a/sys/nfs/nfs_vfsops.c
+++ b/sys/nfs/nfs_vfsops.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_vfsops.c 8.3 (Berkeley) 1/4/94
- * $Id: nfs_vfsops.c,v 1.30.2.3 1997/05/12 18:56:19 tegge Exp $
+ * $Id: nfs_vfsops.c,v 1.30.2.4 1997/05/14 08:19:29 dfr Exp $
*/
#include <sys/param.h>
@@ -243,8 +243,10 @@ nfs_statfs(mp, sbp, p)
nfsm_request(vp, NFSPROC_FSSTAT, p, cred);
if (v3)
nfsm_postop_attr(vp, retattr);
- if (!error)
+ if (!error) {
nfsm_dissect(sfp, struct nfs_statfs *, NFSX_STATFS(v3));
+ } else
+ goto nfsmout;
#ifdef __NetBSD__
#ifdef COMPAT_09
sbp->f_type = 2;