Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/arch/hppa/hppa Pull up following revision(s) (request...



details:   https://anonhg.NetBSD.org/src/rev/ff7b09012744
branches:  netbsd-8
changeset: 450613:ff7b09012744
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Apr 20 13:51:47 2019 +0000

description:
Pull up following revision(s) (requested by skrll in ticket #1234):

        sys/arch/hppa/hppa/disksubr.c: revision 1.4

Get a large enough buffer for the LIF DIR

diffstat:

 sys/arch/hppa/hppa/disksubr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cf7031e23816 -r ff7b09012744 sys/arch/hppa/hppa/disksubr.c
--- a/sys/arch/hppa/hppa/disksubr.c     Fri Apr 19 09:14:40 2019 +0000
+++ b/sys/arch/hppa/hppa/disksubr.c     Sat Apr 20 13:51:47 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disksubr.c,v 1.2 2014/10/18 08:33:25 snj Exp $ */
+/*     $NetBSD: disksubr.c,v 1.2.12.1 2019/04/20 13:51:47 martin Exp $ */
 
 /*     $OpenBSD: disksubr.c,v 1.6 2000/10/18 21:00:34 mickey Exp $     */
 
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.2 2014/10/18 08:33:25 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.2.12.1 2019/04/20 13:51:47 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -228,7 +228,7 @@
                struct buf *dbp;
                struct hppa_lifdir *p;
 
-               dbp = geteblk(HPPA_LIF_DIRSIZE);
+               dbp = geteblk(lp->d_secsize);
                dbp->b_dev = bp->b_dev;
 
                /* read LIF directory */



Home | Main Index | Thread Index | Old Index