changeset 2082 | 76b439ec3ac1 |
parent 1775 | e51e26b432c0 |
child 2199 | 712a788c2dfd |
--- a/usr/src/uts/common/fs/zfs/dsl_pool.c Tue May 30 15:35:36 2006 -0700 +++ b/usr/src/uts/common/fs/zfs/dsl_pool.c Tue May 30 15:47:16 2006 -0700 @@ -241,7 +241,7 @@ * cut the reservation in half to allow forward progress * (e.g. make it possible to rm(1) files from a full pool). */ - space = spa_get_space(dp->dp_spa); + space = spa_get_dspace(dp->dp_spa); resv = MAX(space >> 6, SPA_MINDEVSIZE >> 1); if (netfree) resv >>= 1;