From 4fe640bd4d6866b375770da82b4660944cf5df50 Mon Sep 17 00:00:00 2001 From: pooka Date: Tue, 13 Apr 2010 10:12:43 +0000 Subject: [PATCH] polish previous --- sys/fs/msdosfs/msdosfs_vfsops.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c index 7861efe89614..08c99d3ea741 100644 --- a/sys/fs/msdosfs/msdosfs_vfsops.c +++ b/sys/fs/msdosfs/msdosfs_vfsops.c @@ -1,4 +1,4 @@ -/* $NetBSD: msdosfs_vfsops.c,v 1.84 2010/04/13 10:11:08 pooka Exp $ */ +/* $NetBSD: msdosfs_vfsops.c,v 1.85 2010/04/13 10:12:43 pooka Exp $ */ /*- * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank. @@ -48,7 +48,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: msdosfs_vfsops.c,v 1.84 2010/04/13 10:11:08 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: msdosfs_vfsops.c,v 1.85 2010/04/13 10:12:43 pooka Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -492,8 +492,11 @@ msdosfs_mountfs(struct vnode *devvp, struct mount *mp, struct lwp *l, struct msd if (error) { if (argp->flags & MSDOSFSMNT_GEMDOSFS) goto error_exit; + + /* ok, so it failed. we most likely don't need the info */ secsize = DEV_BSIZE; psize = 0; + error = 0; } if (argp->flags & MSDOSFSMNT_GEMDOSFS) {