File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- /* $NetBSD: cgdconfig.c,v 1.63 2024/05/12 18:02:16 christos Exp $ */
1+ /* $NetBSD: cgdconfig.c,v 1.64 2026/03/17 17:24:47 christos Exp $ */
22
33/*-
44 * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
3333#ifndef lint
3434__COPYRIGHT ("@(#) Copyright (c) 2002, 2003\
3535 The NetBSD Foundation, Inc. All rights reserved." );
36- __RCSID ("$NetBSD: cgdconfig.c,v 1.63 2024/05/12 18:02:16 christos Exp $" );
36+ __RCSID ("$NetBSD: cgdconfig.c,v 1.64 2026/03/17 17:24:47 christos Exp $" );
3737#endif
3838
3939#ifdef HAVE_ARGON2
@@ -1213,6 +1213,7 @@ verify_zfs(int fd)
12131213 return rv ;
12141214 }
12151215
1216+ vdev_size = P2ALIGN (vdev_size , (uint64_t )sizeof (vdev_label_t ));
12161217 vdev_phys_t * vdev_phys = emalloc (sizeof (* vdev_phys ));
12171218 for (size_t i = 0 ; i < VDEV_LABELS ; i ++ ) {
12181219 off_t vdev_phys_off = (i < VDEV_LABELS / 2 ?
You can’t perform that action at this time.
0 commit comments