Print this page
patch lower-case-segops

@@ -3506,19 +3506,19 @@
         extern struct seg_ops   segspt_shmops;
 
         /*
          * This is for binary compatibility to protect against third party
          * segment drivers which haven't recompiled to allow for
-         * SEGOP_GETPOLICY()
+         * segop_getpolicy()
          */
         if (seg->s_ops != &segvn_ops && seg->s_ops != &segspt_ops &&
             seg->s_ops != &segspt_shmops)
                 return (NULL);
 
         policy_info = NULL;
         if (seg->s_ops->getpolicy != NULL)
-                policy_info = SEGOP_GETPOLICY(seg, vaddr);
+                policy_info = segop_getpolicy(seg, vaddr);
 
         return (policy_info);
 }
 
 /*