Allocate an fs_summary_info structure when creating a UFS filesystem
needed since introduced in -r362358. PR: 247425 Sponsored by: Netflix
This commit is contained in:
parent
4afe4fae1b
commit
972670e132
@ -408,6 +408,7 @@ ffs_mkfs(const char *fsys, const fsinfo_t *fsopts, time_t tstamp)
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user