Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/msdosfs pullup 1.79->1.80 (David Brownlee)



details:   https://anonhg.NetBSD.org/src/rev/c92fa78c9fd5
branches:  netbsd-1-4
changeset: 468411:c92fa78c9fd5
user:      perry <perry%NetBSD.org@localhost>
date:      Wed Apr 21 18:12:17 1999 +0000

description:
pullup 1.79->1.80 (David Brownlee)
>From his request:
        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 e57be28dda31 -r c92fa78c9fd5 sys/msdosfs/msdosfs_vnops.c
--- a/sys/msdosfs/msdosfs_vnops.c       Wed Apr 21 18:08:12 1999 +0000
+++ b/sys/msdosfs/msdosfs_vnops.c       Wed Apr 21 18:12:17 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.79.2.1 1999/04/21 18:12:17 perry 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