pagertab: use designated initializers
Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D30070
This commit is contained in:
parent
838adc533f
commit
0d2dfc6fed
@ -164,14 +164,14 @@ static struct pagerops deadpagerops = {
|
||||
};
|
||||
|
||||
struct pagerops *pagertab[] = {
|
||||
&defaultpagerops, /* OBJT_DEFAULT */
|
||||
&swappagerops, /* OBJT_SWAP */
|
||||
&vnodepagerops, /* OBJT_VNODE */
|
||||
&devicepagerops, /* OBJT_DEVICE */
|
||||
&physpagerops, /* OBJT_PHYS */
|
||||
&deadpagerops, /* OBJT_DEAD */
|
||||
&sgpagerops, /* OBJT_SG */
|
||||
&mgtdevicepagerops, /* OBJT_MGTDEVICE */
|
||||
[OBJT_DEFAULT] = &defaultpagerops,
|
||||
[OBJT_SWAP] = &swappagerops,
|
||||
[OBJT_VNODE] = &vnodepagerops,
|
||||
[OBJT_DEVICE] = &devicepagerops,
|
||||
[OBJT_PHYS] = &physpagerops,
|
||||
[OBJT_DEAD] = &deadpagerops,
|
||||
[OBJT_SG] = &sgpagerops,
|
||||
[OBJT_MGTDEVICE] = &mgtdevicepagerops,
|
||||
};
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user