Date: Fri, 19 Jun 2020 23:32:40 +0000 (UTC) From: Kirk McKusick <mckusick@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r362418 - head/usr.sbin/makefs/ffs Message-ID: <202006192332.05JNWeXJ054333@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mckusick Date: Fri Jun 19 23:32:40 2020 New Revision: 362418 URL: https://svnweb.freebsd.org/changeset/base/362418 Log: Allocate an fs_summary_info structure when creating a UFS filesystem needed since introduced in -r362358. PR: 247425 Sponsored by: Netflix Modified: head/usr.sbin/makefs/ffs/mkfs.c Modified: head/usr.sbin/makefs/ffs/mkfs.c ============================================================================== --- head/usr.sbin/makefs/ffs/mkfs.c Fri Jun 19 19:33:19 2020 (r362417) +++ head/usr.sbin/makefs/ffs/mkfs.c Fri Jun 19 23:32:40 2020 (r362418) @@ -408,6 +408,7 @@ ffs_mkfs(const char *fsys, const fsinfo_t *fsopts, tim if (sblock.fs_contigsumsize > 0) size += sblock.fs_ncg * sizeof(int32_t); space = ecalloc(1, size); + sblock.fs_si = ecalloc(1, sizeof(struct fs_summary_info)); sblock.fs_csp = space; space = (char *)space + sblock.fs_cssize; if (sblock.fs_contigsumsize > 0) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006192332.05JNWeXJ054333>