mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
Move extern declaration of the various pagerops from vm_pager.c
to vm_pager.h where the various pagers will also see them.
This commit is contained in:
parent
eeb086be33
commit
745f330503
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118384
@ -88,12 +88,6 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
MALLOC_DEFINE(M_VMPGDATA, "VM pgdata", "XXX: VM pager private data");
|
||||
|
||||
extern struct pagerops defaultpagerops;
|
||||
extern struct pagerops swappagerops;
|
||||
extern struct pagerops vnodepagerops;
|
||||
extern struct pagerops devicepagerops;
|
||||
extern struct pagerops physpagerops;
|
||||
|
||||
int cluster_pbuf_freecnt = -1; /* unlimited to begin with */
|
||||
|
||||
static int dead_pager_getpages(vm_object_t, vm_page_t *, int, int);
|
||||
|
@ -63,6 +63,12 @@ struct pagerops {
|
||||
void (*pgo_strategy)(vm_object_t, struct bio *);
|
||||
};
|
||||
|
||||
extern struct pagerops defaultpagerops;
|
||||
extern struct pagerops swappagerops;
|
||||
extern struct pagerops vnodepagerops;
|
||||
extern struct pagerops devicepagerops;
|
||||
extern struct pagerops physpagerops;
|
||||
|
||||
/*
|
||||
* get/put return values
|
||||
* OK operation was successful
|
||||
|
Loading…
Reference in New Issue
Block a user