Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/msdosfs Revert rev 1.95 since getdisksize() no longer...
details: https://anonhg.NetBSD.org/src/rev/4cffda591cd1
branches: trunk
changeset: 780019:4cffda591cd1
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Jul 07 16:18:50 2012 +0000
description:
Revert rev 1.95 since getdisksize() no longer returns secsize=0.
diffstat:
sys/fs/msdosfs/msdosfs_vfsops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 58ee14fc4b3f -r 4cffda591cd1 sys/fs/msdosfs/msdosfs_vfsops.c
--- a/sys/fs/msdosfs/msdosfs_vfsops.c Sat Jul 07 16:15:20 2012 +0000
+++ b/sys/fs/msdosfs/msdosfs_vfsops.c Sat Jul 07 16:18:50 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msdosfs_vfsops.c,v 1.95 2012/06/30 11:01:41 tsutsui Exp $ */
+/* $NetBSD: msdosfs_vfsops.c,v 1.96 2012/07/07 16:18:50 tsutsui 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.95 2012/06/30 11:01:41 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msdosfs_vfsops.c,v 1.96 2012/07/07 16:18:50 tsutsui Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -493,7 +493,7 @@
goto error_exit;
error = getdisksize(devvp, &psize, &secsize);
- if (error || secsize == 0) {
+ if (error) {
if (argp->flags & MSDOSFSMNT_GEMDOSFS)
goto error_exit;
Home |
Main Index |
Thread Index |
Old Index