Print this page
patch lower-case-segops
*** 27,38 ****
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
- #pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/param.h>
#include <sys/inttypes.h>
#include <sys/types.h>
#include <sys/sysmacros.h>
#include <sys/systm.h>
--- 27,36 ----
*** 540,550 ****
/*
* if we can't get a backing vnode for this
* segment then skip it
*/
vp = NULL;
! if ((SEGOP_GETVP(seg, seg->s_base, &vp)) ||
(vp == NULL))
continue;
/*
* if the target file (fvp) is not a device
--- 538,548 ----
/*
* if we can't get a backing vnode for this
* segment then skip it
*/
vp = NULL;
! if ((segop_getvp(seg, seg->s_base, &vp)) ||
(vp == NULL))
continue;
/*
* if the target file (fvp) is not a device