FreeBSD/src f428a90 (r344469) — sbin/nvmecontrol logpage.c nvmecontrol.c
Rework logpage extensibility. Move from using a linker set to a constructor function that's called. This simplifies the code and is slightly more obvious. We now keep a list of page decoders rather than having an array we managed before. Commands will move to something similar in the future. Reviewed by: jhb@ Differential Revision: https://reviews.freebsd.org/D19275
Delta | File | |
---|---|---|
+19 | -12 | sbin/nvmecontrol/logpage.c |
+5 | -8 | sbin/nvmecontrol/nvmecontrol.c |
+5 | -7 | sbin/nvmecontrol/nvmecontrol.h |
+29 | -27 | 3 files |