Module Name: src
Committed By: martin
Date: Sat Apr 20 13:51:47 UTC 2019
Modified Files:
src/sys/arch/hppa/hppa [netbsd-8]: disksubr.c
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.12.1 src/sys/arch/hppa/hppa/disksubr.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/arch/hppa/hppa/disksubr.c
diff -u src/sys/arch/hppa/hppa/disksubr.c:1.2 src/sys/arch/hppa/hppa/disksubr.c:1.2.12.1
--- src/sys/arch/hppa/hppa/disksubr.c:1.2 Sat Oct 18 08:33:25 2014
+++ src/sys/arch/hppa/hppa/disksubr.c Sat Apr 20 13:51:47 2019
@@ -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 @@ readliflabel(struct buf *bp, void (*stra
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 */