mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Mark swap_pager_putpages static at its definition. It was already
static at its declaration. Remove needless swapdev_strategy forward declaration. MFC After: 3 days
This commit is contained in:
parent
4840d2a682
commit
d635a37ffa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=288901
@ -313,8 +313,6 @@ swap_release_by_cred(vm_ooffset_t decr, struct ucred *cred)
|
||||
racct_sub_cred(cred, RACCT_SWAP, decr);
|
||||
}
|
||||
|
||||
static void swapdev_strategy(struct buf *, struct swdevt *sw);
|
||||
|
||||
#define SWM_FREE 0x02 /* free, period */
|
||||
#define SWM_POP 0x04 /* pop out */
|
||||
|
||||
@ -1308,7 +1306,7 @@ swap_pager_getpages_async(vm_object_t object, vm_page_t *m, int count,
|
||||
* those whos rtvals[] entry is not set to VM_PAGER_PEND on return.
|
||||
* We need to unbusy the rest on I/O completion.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
swap_pager_putpages(vm_object_t object, vm_page_t *m, int count,
|
||||
int flags, int *rtvals)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user