diff options
author | Miles Bader <miles@gnu.org> | 1995-04-11 18:40:26 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-11 18:40:26 +0000 |
commit | f2f0403f51ee404d70971f9faabd9db6bf8d7eb1 (patch) | |
tree | 71131b282bf80d34f5db700cf71af06ce6c8f02e | |
parent | 7b4f77eac98a8bef27014397c25833e5dba87760 (diff) |
Formerly pager.c.~3~
-rw-r--r-- | ext2fs/pager.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext2fs/pager.c b/ext2fs/pager.c index a63e406b..8dd5c2ab 100644 --- a/ext2fs/pager.c +++ b/ext2fs/pager.c @@ -172,7 +172,7 @@ pager_unlock_page (struct user_pager_info *pager, struct iblock_spec indirs[NIADDR + 1]; daddr_t bno; struct disknode *dn; - struct dinode *di; + struct ext2_inode *di; /* Zero an sblock->fs_bsize piece of disk starting at BNO, synchronously. We do this on newly allocated indirect @@ -242,7 +242,7 @@ pager_unlock_page (struct user_pager_info *pager, goto out; assert (lblkno (sblock, address) < NDADDR); indirs[0].bno = di->di_db[lblkno (sblock, address)] = bno; - record_poke (di, sizeof (struct dinode)); + record_poke (di, sizeof (struct ext2_inode)); } else { @@ -262,7 +262,7 @@ pager_unlock_page (struct user_pager_info *pager, goto out; zero_disk_block (bno); indirs[1].bno = di->di_ib[INDIR_SINGLE] = bno; - record_poke (di, sizeof (struct dinode)); + record_poke (di, sizeof (struct ext2_inode)); } else { @@ -286,7 +286,7 @@ pager_unlock_page (struct user_pager_info *pager, goto out; zero_disk_block (bno); indirs[2].bno = di->di_ib[INDIR_DOUBLE] = bno; - record_poke (di, sizeof (struct dinode)); + record_poke (di, sizeof (struct ext2_inode)); } diblock = indir_block (indirs[2].bno); |