summaryrefslogtreecommitdiff
path: root/ext2fs/pager.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-19 19:04:48 +0000
committerMiles Bader <miles@gnu.org>1996-07-19 19:04:48 +0000
commita984db71922e2c513764fae7eca05f14198d20f2 (patch)
treebdfbecb0e1d8d6d9d1b4c268fc10a1433cf6d2a2 /ext2fs/pager.c
parent4a0c3a51e80a9a7f7ff9486f264102eaa3e893db (diff)
(file_pager_read_page, file_pager_write_page):
Pass NODE->dn, not &NODE->dn to RECORD_LAST.
Diffstat (limited to 'ext2fs/pager.c')
-rw-r--r--ext2fs/pager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext2fs/pager.c b/ext2fs/pager.c
index a1066223..b4b810f3 100644
--- a/ext2fs/pager.c
+++ b/ext2fs/pager.c
@@ -132,7 +132,7 @@ file_pager_read_page (struct node *node, vm_offset_t page,
if (err)
break;
- RECORD_LAST (&node->dn, LAST_READ, page);
+ RECORD_LAST (node->dn, LAST_READ, page);
if (block != pending_blocks + num_pending_blocks)
{
@@ -285,7 +285,7 @@ file_pager_write_page (struct node *node, vm_offset_t offset, vm_address_t buf)
if (err)
break;
- RECORD_LAST (&node->dn, LAST_WRITE, offset);
+ RECORD_LAST (node->dn, LAST_WRITE, offset);
assert (block);
pending_blocks_add (&pb, block);