diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/sa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/sa.c b/module/zfs/sa.c index 1548c5634..0df3b4755 100644 --- a/module/zfs/sa.c +++ b/module/zfs/sa.c @@ -202,7 +202,7 @@ sa_attr_type_t sa_legacy_zpl_layout[] = { */ sa_attr_type_t sa_dummy_zpl_layout[] = { 0 }; -static int sa_legacy_attr_count = 16; +static int sa_legacy_attr_count = ARRAY_SIZE(sa_legacy_attrs); static kmem_cache_t *sa_cache = NULL; /*ARGSUSED*/ |