Store the pool config in XDR format

This commit is contained in:
Brooks Davis 2022-11-18 19:16:52 +00:00
parent 4003f9b805
commit 4bfc16ced8
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ spa_config_write(spa_config_dirent_t *dp, nvlist_t *nvl)
/*
* Pack the configuration into a buffer.
*/
buf = fnvlist_pack(nvl, &buflen);
buf = fnvlist_pack_xdr(nvl, &buflen);
temp = kmem_zalloc(MAXPATHLEN, KM_SLEEP);
/*