Deleted Added
full compact
pass5.c (86514) pass5.c (92806)
1/*
2 * Copyright (c) 1980, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 22 unchanged lines hidden (view full) ---

31 * SUCH DAMAGE.
32 */
33
34#ifndef lint
35#if 0
36static const char sccsid[] = "@(#)pass5.c 8.9 (Berkeley) 4/28/95";
37#endif
38static const char rcsid[] =
1/*
2 * Copyright (c) 1980, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 22 unchanged lines hidden (view full) ---

31 * SUCH DAMAGE.
32 */
33
34#ifndef lint
35#if 0
36static const char sccsid[] = "@(#)pass5.c 8.9 (Berkeley) 4/28/95";
37#endif
38static const char rcsid[] =
39 "$FreeBSD: head/sbin/fsck_ffs/pass5.c 86514 2001-11-17 23:48:21Z iedowse $";
39 "$FreeBSD: head/sbin/fsck_ffs/pass5.c 92806 2002-03-20 17:55:10Z obrien $";
40#endif /* not lint */
41
42#include <sys/param.h>
43#include <sys/sysctl.h>
44
45#include <ufs/ufs/dinode.h>
46#include <ufs/ffs/fs.h>
47

--- 13 unchanged lines hidden (view full) ---

61 struct fs *fs = &sblock;
62 struct cg *cg = &cgrp;
63 ufs_daddr_t dbase, dmax, d;
64 int i, j, excessdirs;
65 struct csum *cs;
66 struct csum cstotal;
67 struct inodesc idesc[3];
68 char buf[MAXBSIZE];
40#endif /* not lint */
41
42#include <sys/param.h>
43#include <sys/sysctl.h>
44
45#include <ufs/ufs/dinode.h>
46#include <ufs/ffs/fs.h>
47

--- 13 unchanged lines hidden (view full) ---

61 struct fs *fs = &sblock;
62 struct cg *cg = &cgrp;
63 ufs_daddr_t dbase, dmax, d;
64 int i, j, excessdirs;
65 struct csum *cs;
66 struct csum cstotal;
67 struct inodesc idesc[3];
68 char buf[MAXBSIZE];
69 register struct cg *newcg = (struct cg *)buf;
69 struct cg *newcg = (struct cg *)buf;
70 struct ocg *ocg = (struct ocg *)buf;
71
72 inoinfo(WINO)->ino_state = USTATE;
73 memset(newcg, 0, (size_t)fs->fs_cgsize);
74 newcg->cg_niblk = fs->fs_ipg;
75 if (cvtlevel >= 3) {
76 if (fs->fs_maxcontig < 2 && fs->fs_contigsumsize > 0) {
77 if (preen)

--- 416 unchanged lines hidden ---
70 struct ocg *ocg = (struct ocg *)buf;
71
72 inoinfo(WINO)->ino_state = USTATE;
73 memset(newcg, 0, (size_t)fs->fs_cgsize);
74 newcg->cg_niblk = fs->fs_ipg;
75 if (cvtlevel >= 3) {
76 if (fs->fs_maxcontig < 2 && fs->fs_contigsumsize > 0) {
77 if (preen)

--- 416 unchanged lines hidden ---