diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-02-10 22:13:51 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-02-10 22:13:51 +0000 |
commit | c2e9f68ae30d9f4e73931fc3d62aaca65a4fb812 (patch) | |
tree | f0be2dfcd6c456c7e0c863ffe28acabe0b910a56 | |
parent | 4fc263fd16e28c759c6e0967a30ca02b97e30257 (diff) |
Formerly hyper.c.~3~
-rw-r--r-- | ufs/hyper.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ufs/hyper.c b/ufs/hyper.c index 2793985e..dfe76bcf 100644 --- a/ufs/hyper.c +++ b/ufs/hyper.c @@ -15,6 +15,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include "ufs.h" +#include "fs.h" +#include <string.h> void get_hypermetadata (void) @@ -46,12 +49,12 @@ get_hypermetadata (void) void diskfs_set_hypermetadata (int wait, int clean) { - error_t (*writefn) (daddr_t, vm_address_t, vm_size_t); + error_t (*writefn) (daddr_t, vm_address_t, long); writefn = (wait ? dev_write_sync : dev_write); (*writefn)(fsbtodb (sblock->fs_csaddr), (vm_address_t) csum, sblock->fs_fsize * howmany (sblock->fs_cssize, - sblock->fs_fssize)); + sblock->fs_fsize)); if (clean) sblock->fs_clean = 1; |