summaryrefslogtreecommitdiff
path: root/tmpfs/pager-stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmpfs/pager-stubs.c')
-rw-r--r--tmpfs/pager-stubs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmpfs/pager-stubs.c b/tmpfs/pager-stubs.c
index 3299e218..883a635e 100644
--- a/tmpfs/pager-stubs.c
+++ b/tmpfs/pager-stubs.c
@@ -36,9 +36,9 @@ pager_read_page (struct user_pager_info *pager,
}
/* The user must define this function. For pager PAGER, synchronously
- write one page from BUF to offset PAGE. In addition, mfree
- (or equivalent) BUF. The only permissible error returns are EIO,
- EDQUOT, and ENOSPC. */
+ write one page from BUF to offset PAGE. Do not deallocate BUF, and do
+ not keep any references to BUF. The only permissible error returns
+ are EIO, EDQUOT, and ENOSPC. */
error_t
pager_write_page (struct user_pager_info *pager,
vm_offset_t page,