Module Name: src
Committed By: pooka
Date: Tue Apr 13 10:12:43 UTC 2010
Modified Files:
src/sys/fs/msdosfs: msdosfs_vfsops.c
Log Message:
polish previous
To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/fs/msdosfs/msdosfs_vfsops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/fs/msdosfs/msdosfs_vfsops.c
diff -u src/sys/fs/msdosfs/msdosfs_vfsops.c:1.84 src/sys/fs/msdosfs/msdosfs_vfsops.c:1.85
--- src/sys/fs/msdosfs/msdosfs_vfsops.c:1.84 Tue Apr 13 10:11:08 2010
+++ src/sys/fs/msdosfs/msdosfs_vfsops.c Tue Apr 13 10:12:43 2010
@@ -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) {