diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-09-27 02:51:13 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-09-27 02:51:13 +0000 |
commit | 95534a085867271b95d43f0cf57f55cd12bdc4f7 (patch) | |
tree | ce689b5f5f69e2ed5422eb9eae7af383eb2cc686 /ufs/ufs.h | |
parent | e2cc559da4c87515186e8e0834626a1919777394 (diff) |
Formerly ufs.h.~26~
Diffstat (limited to 'ufs/ufs.h')
-rw-r--r-- | ufs/ufs.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -24,7 +24,7 @@ #include <hurd/diskfs.h> #include <assert.h> #include "fs.h" - +#include "dinode.h" /* Define this if memory objects should not be cached by the kernel. Normally, don't define it, but defining it causes a much greater rate @@ -218,7 +218,7 @@ dino (ino_t inum) return (struct dinode *) (disk_image + fsaddr (sblock, ino_to_fsba (sblock, inum)) - + ino_to_fsbo (sblock, inum)); + + ino_to_fsbo (sblock, inum) * sizeof (struct dinode)); } /* Convert a indirect block number to a daddr_t table. */ @@ -257,6 +257,10 @@ daddr_t ffs_blkpref (struct node *, daddr_t, int, daddr_t *); error_t ffs_realloccg(struct node *, daddr_t, daddr_t, int, int, daddr_t *, struct protid *); +/* From bmap.c */ +error_t fetch_indir_spec (struct node *, daddr_t, struct iblock_spec *); +void mark_indir_dirty (struct node *, daddr_t); + /* From devio.c: */ error_t dev_write_sync (daddr_t addr, vm_address_t data, long len); error_t dev_write (daddr_t addr, vm_address_t data, long len); |