Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/msdosfs polish previous



details:   https://anonhg.NetBSD.org/src/rev/4939b29551f7
branches:  trunk
changeset: 753892:4939b29551f7
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Apr 13 10:12:43 2010 +0000

description:
polish previous

diffstat:

 sys/fs/msdosfs/msdosfs_vfsops.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r ebb9e69fb103 -r 4939b29551f7 sys/fs/msdosfs/msdosfs_vfsops.c
--- a/sys/fs/msdosfs/msdosfs_vfsops.c   Tue Apr 13 10:11:08 2010 +0000
+++ b/sys/fs/msdosfs/msdosfs_vfsops.c   Tue Apr 13 10:12:43 2010 +0000
@@ -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 <sys/cdefs.h>
-__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 @@
        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) {



Home | Main Index | Thread Index | Old Index