Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/msdosfs Remove spurious call to de_bn2cn(). A "cluster" ...
details: https://anonhg.NetBSD.org/src/rev/7492dacef8a9
branches: trunk
changeset: 472111:7492dacef8a9
user: abs <abs%NetBSD.org@localhost>
date: Wed Apr 21 17:13:22 1999 +0000
description:
Remove spurious call to de_bn2cn(). A "cluster" in MSDOSFS is already
equivalent to a "block" is in FFS. Fixes vnds on MSDOSFS, and should
eliminate a 'getblk: block size invariant failed' panic.
Directly from PR7380 <elric%imrryr.org@localhost>.
diffstat:
sys/msdosfs/msdosfs_vnops.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r c1aa55446bf7 -r 7492dacef8a9 sys/msdosfs/msdosfs_vnops.c
--- a/sys/msdosfs/msdosfs_vnops.c Wed Apr 21 16:23:14 1999 +0000
+++ b/sys/msdosfs/msdosfs_vnops.c Wed Apr 21 17:13:22 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msdosfs_vnops.c,v 1.79 1999/03/24 05:51:27 mrg Exp $ */
+/* $NetBSD: msdosfs_vnops.c,v 1.80 1999/04/21 17:13:22 abs Exp $ */
/*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -1757,7 +1757,6 @@
int *a_runp;
} */ *ap = v;
struct denode *dep = VTODE(ap->a_vp);
- struct msdosfsmount *pmp = dep->de_pmp;
if (ap->a_vpp != NULL)
*ap->a_vpp = dep->de_devvp;
@@ -1769,7 +1768,7 @@
*/
*ap->a_runp = 0;
}
- return (pcbmap(dep, de_bn2cn(pmp, ap->a_bn), ap->a_bnp, 0, 0));
+ return (pcbmap(dep, ap->a_bn, ap->a_bnp, 0, 0));
}
int
Home |
Main Index |
Thread Index |
Old Index