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 over 1 year ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit bf26014c5541b6119f34e0d95294b7f2eb105ac2 Author: Matthew Ahrens <firstname.lastname@example.org> 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 <email@example.com> Reviewed by: George Wilson <firstname.lastname@example.org> Reviewed by: Pavel Zakharov <email@example.com> Reviewed by: Brad Lewis <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>