summaryrefslogtreecommitdiffstats
path: root/rpm
diff options
context:
space:
mode:
authorcao <[email protected]>2016-11-03 01:26:12 +0800
committerBrian Behlendorf <[email protected]>2016-11-02 10:26:12 -0700
commit51c9163f98f60f585906a2ddec376924ad142f78 (patch)
treee9d0e9865fb7b7a8753d47b9e8a9ec44f05881aa /rpm
parent981b21260e7ad35b59cee2989477276109b6b3a2 (diff)
Fix sa_legacy_attr_count to use ARRAY_SIZE
Replace magic value 16 with ARRAY_SIZE() to correctly handle when the sa_legacy_attrs array size changes. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: cao.xuewen <[email protected]> Closes #5354
Diffstat (limited to 'rpm')
0 files changed, 0 insertions, 0 deletions