Deleted Added
full compact
inode.c (134589) inode.c (136281)
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

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

28 */
29
30#if 0
31#ifndef lint
32static const char sccsid[] = "@(#)inode.c 8.8 (Berkeley) 4/28/95";
33#endif /* not lint */
34#endif
35#include <sys/cdefs.h>
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

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

28 */
29
30#if 0
31#ifndef lint
32static const char sccsid[] = "@(#)inode.c 8.8 (Berkeley) 4/28/95";
33#endif /* not lint */
34#endif
35#include <sys/cdefs.h>
36__FBSDID("$FreeBSD: head/sbin/fsck_ffs/inode.c 134589 2004-09-01 05:48:06Z scottl $");
36__FBSDID("$FreeBSD: head/sbin/fsck_ffs/inode.c 136281 2004-10-08 20:44:47Z truckman $");
37
38#include <sys/param.h>
39#include <sys/stdint.h>
40#include <sys/time.h>
41#include <sys/sysctl.h>
42
43#include <ufs/ufs/dinode.h>
44#include <ufs/ufs/dir.h>

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

571blkerror(ino_t ino, const char *type, ufs2_daddr_t blk)
572{
573
574 pfatal("%jd %s I=%ju", (intmax_t)blk, type, (uintmax_t)ino);
575 printf("\n");
576 switch (inoinfo(ino)->ino_state) {
577
578 case FSTATE:
37
38#include <sys/param.h>
39#include <sys/stdint.h>
40#include <sys/time.h>
41#include <sys/sysctl.h>
42
43#include <ufs/ufs/dinode.h>
44#include <ufs/ufs/dir.h>

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

571blkerror(ino_t ino, const char *type, ufs2_daddr_t blk)
572{
573
574 pfatal("%jd %s I=%ju", (intmax_t)blk, type, (uintmax_t)ino);
575 printf("\n");
576 switch (inoinfo(ino)->ino_state) {
577
578 case FSTATE:
579 case FZLINK:
579 inoinfo(ino)->ino_state = FCLEAR;
580 return;
581
582 case DSTATE:
580 inoinfo(ino)->ino_state = FCLEAR;
581 return;
582
583 case DSTATE:
584 case DZLINK:
583 inoinfo(ino)->ino_state = DCLEAR;
584 return;
585
586 case FCLEAR:
587 case DCLEAR:
588 return;
589
590 default:

--- 86 unchanged lines hidden ---
585 inoinfo(ino)->ino_state = DCLEAR;
586 return;
587
588 case FCLEAR:
589 case DCLEAR:
590 return;
591
592 default:

--- 86 unchanged lines hidden ---