Add a missing goto.
(was here before my changes) ok christos@
This commit is contained in:
parent
04ca548b64
commit
9b2abda5c6
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ffs_vfsops.c,v 1.333 2015/05/19 06:44:42 martin Exp $ */
|
||||
/* $NetBSD: ffs_vfsops.c,v 1.334 2015/05/23 16:59:13 maxv Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
|
||||
|
@ -61,7 +61,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.333 2015/05/19 06:44:42 martin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.334 2015/05/23 16:59:13 maxv Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_ffs.h"
|
||||
|
@ -1332,6 +1332,8 @@ ffs_mountfs(struct vnode *devvp, struct mount *mp, struct lwp *l)
|
|||
DPRINTF("bcount %x != fsize %x", bp->b_bcount,
|
||||
fs->fs_fsize);
|
||||
error = EINVAL;
|
||||
bset = BC_INVAL;
|
||||
goto out;
|
||||
}
|
||||
brelse(bp, BC_INVAL);
|
||||
bp = NULL;
|
||||
|
|
Loading…
Reference in New Issue