pass5.c (4c723140a407d2ba326c134a26cec9569dc52d46) pass5.c (af6726e657c0b1148075650d763ee80f9d863dbf)
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

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

211 switch (inoinfo(j)->ino_state) {
212
213 case USTATE:
214 break;
215
216 case DSTATE:
217 case DCLEAR:
218 case DFOUND:
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

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

211 switch (inoinfo(j)->ino_state) {
212
213 case USTATE:
214 break;
215
216 case DSTATE:
217 case DCLEAR:
218 case DFOUND:
219 case DZLINK:
219 newcg->cg_cs.cs_ndir++;
220 /* FALLTHROUGH */
221
222 case FSTATE:
223 case FCLEAR:
220 newcg->cg_cs.cs_ndir++;
221 /* FALLTHROUGH */
222
223 case FSTATE:
224 case FCLEAR:
225 case FZLINK:
224 newcg->cg_cs.cs_nifree--;
225 setbit(cg_inosused(newcg), i);
226 break;
227
228 default:
229 if (j < (int)ROOTINO)
230 break;
231 errx(EEXIT, "BAD STATE %d FOR INODE I=%d",

--- 244 unchanged lines hidden ---
226 newcg->cg_cs.cs_nifree--;
227 setbit(cg_inosused(newcg), i);
228 break;
229
230 default:
231 if (j < (int)ROOTINO)
232 break;
233 errx(EEXIT, "BAD STATE %d FOR INODE I=%d",

--- 244 unchanged lines hidden ---