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 | 8688b93e717a34ec246a90e1757cb3d502f89a98 (patch) | |
tree | 0c394ed543b2ce60c6b42708999ac18562c11c25 /ufs/hyper.c | |
parent | 9057ba93ab8d12d0ba24c02e211a144df9c8fc4b (diff) |
Formerly hyper.c.~3~
Diffstat (limited to 'ufs/hyper.c')
-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; |