Print this page
7127  remove -Wno-missing-braces from Makefile.uts


 589 notify_test_stats(md_notify_stats_t *stats)
 590 {
 591         stats->mds_eventq_mx = &md_eventq_mx;
 592         stats->mds_reap_count = md_reap_count;
 593         stats->mds_reap = md_reap;
 594         stats->mds_max_queue = md_max_notify_queue;
 595         stats->mds_reap_off = md_reap_off;
 596         return (0);
 597 }
 598 
 599 /*
 600  * put this stuff at end so we don't have to create forward
 601  * references for everything
 602  */
 603 static struct modlmisc modlmisc = {
 604         &mod_miscops,
 605         "Solaris Volume Manager notification module"
 606 };
 607 
 608 static struct modlinkage modlinkage = {
 609         MODREV_1, (void *)&modlmisc, NULL
 610 };
 611 
 612 static md_named_services_t notify_services[] = {
 613         {notify_interface,      "notify interface"},
 614         {notify_reap_off,       MD_NOTIFY_REAP_OFF},
 615         {notify_reap_on,        MD_NOTIFY_REAP_ON},
 616         {notify_test_stats,     MD_NOTIFY_TEST_STATS},
 617         {NULL,                  0}
 618 };
 619 
 620 md_ops_t event_md_ops = {
 621         NULL,                   /* open */
 622         NULL,                   /* close */
 623         NULL,                   /* strategy */
 624         NULL,                   /* print */
 625         NULL,                   /* dump */
 626         NULL,                   /* read */
 627         NULL,                   /* write */
 628         notify_ioctl,           /* event_ioctls, */
 629         NULL,                   /* snarf */




 589 notify_test_stats(md_notify_stats_t *stats)
 590 {
 591         stats->mds_eventq_mx = &md_eventq_mx;
 592         stats->mds_reap_count = md_reap_count;
 593         stats->mds_reap = md_reap;
 594         stats->mds_max_queue = md_max_notify_queue;
 595         stats->mds_reap_off = md_reap_off;
 596         return (0);
 597 }
 598 
 599 /*
 600  * put this stuff at end so we don't have to create forward
 601  * references for everything
 602  */
 603 static struct modlmisc modlmisc = {
 604         &mod_miscops,
 605         "Solaris Volume Manager notification module"
 606 };
 607 
 608 static struct modlinkage modlinkage = {
 609         MODREV_1, { (void *)&modlmisc, NULL }
 610 };
 611 
 612 static md_named_services_t notify_services[] = {
 613         {notify_interface,      "notify interface"},
 614         {notify_reap_off,       MD_NOTIFY_REAP_OFF},
 615         {notify_reap_on,        MD_NOTIFY_REAP_ON},
 616         {notify_test_stats,     MD_NOTIFY_TEST_STATS},
 617         {NULL,                  0}
 618 };
 619 
 620 md_ops_t event_md_ops = {
 621         NULL,                   /* open */
 622         NULL,                   /* close */
 623         NULL,                   /* strategy */
 624         NULL,                   /* print */
 625         NULL,                   /* dump */
 626         NULL,                   /* read */
 627         NULL,                   /* write */
 628         notify_ioctl,           /* event_ioctls, */
 629         NULL,                   /* snarf */