Print this page
patch lower-case-segops
*** 3506,3524 ****
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()
*/
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);
return (policy_info);
}
/*
--- 3506,3524 ----
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()
*/
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);
return (policy_info);
}
/*