diff options
author | Matthew Ahrens <[email protected]> | 2018-05-30 11:16:54 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-05-31 10:53:11 -0700 |
commit | d2a12f9e2a94bdd09f160bdf98feda21203a7e74 (patch) | |
tree | 02931304436b243313c6b8f44fa3559f208f62ad /scripts/paxcheck.sh | |
parent | 74d42600d8d391dab5c57e87e81f97e0ca07b7b2 (diff) |
OpenZFS 9328 - zap code can take advantage of c99
The ZAP code was written before we allowed c99 in the Solaris kernel. We
should change it to take advantage of being able to declare variables where
they are first used. This reduces variable scope and means less scrolling
to find the type of variables.
Authored by: Matthew Ahrens <[email protected]>
Reviewed by: Steve Gonczi <[email protected]>
Reviewed by: George Wilson <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Approved by: Dan McDonald <[email protected]>
Ported-by: Brian Behlendorf <[email protected]>
OpenZFS-issue: https://illumos.org/issues/9328
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/76ead05
Closes #7578
Diffstat (limited to 'scripts/paxcheck.sh')
0 files changed, 0 insertions, 0 deletions