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.
Updated by Electric Monk about 2 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit bf26014c5541b6119f34e0d95294b7f2eb105ac2 Author: Matthew Ahrens <email@example.com> Date: 2018-05-09T21:18:42.000Z 9328 zap code can take advantage of c99 9329 panic in zap_leaf_lookup() due to concurrent zapification Reviewed by: Steve Gonczi <firstname.lastname@example.org> Reviewed by: George Wilson <email@example.com> Reviewed by: Pavel Zakharov <firstname.lastname@example.org> Reviewed by: Brad Lewis <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>