diff options
author | Alexander Motin <[email protected]> | 2021-01-23 18:45:27 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-23 15:45:27 -0800 |
commit | 5aa69a57da86a38d49cca1623b0c79764f8ad3e9 (patch) | |
tree | 801c6722169a44d9bd144235be95c05f70d504a9 /module/zfs | |
parent | 716408f56043981365488f65f924a2647af03b21 (diff) |
Relax special_small_blocks assertion.
Follow up for commit 624222a, value asserted <= SPA_OLD_MAXBLOCKSIZE
instead of SPA_MAXBLOCKSIZE as it should be after the previous change.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Alexander Motin <[email protected]>
Closes #11501
Diffstat (limited to 'module/zfs')
-rw-r--r-- | module/zfs/dmu_objset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/dmu_objset.c b/module/zfs/dmu_objset.c index 66a8f2009..bfb4adf26 100644 --- a/module/zfs/dmu_objset.c +++ b/module/zfs/dmu_objset.c @@ -326,7 +326,7 @@ smallblk_changed_cb(void *arg, uint64_t newval) /* * Inheritance and range checking should have been done by now. */ - ASSERT(newval <= SPA_OLD_MAXBLOCKSIZE); + ASSERT(newval <= SPA_MAXBLOCKSIZE); ASSERT(ISP2(newval)); os->os_zpl_special_smallblock = newval; |