ffs_vnops.c (b5ff185e19f6013ca565b2a15bc2d6abce933f46) | ffs_vnops.c (411455a8fbcfbb51e60fb5f5d4a02d6e76c0a88c) |
---|---|
1/*- 2 * Copyright (c) 2002, 2003 Networks Associates Technology, Inc. 3 * All rights reserved. 4 * 5 * This software was developed for the FreeBSD Project by Marshall 6 * Kirk McKusick and Network Associates Laboratories, the Security 7 * Research Division of Network Associates, Inc. under DARPA/SPAWAR 8 * contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS --- 328 unchanged lines hidden (view full) --- 337 BO_LOCK(bo); 338 } 339 /* switch between sync/async. */ 340 wait = !wait; 341 if (wait == 1 || ++passes < NIADDR + 2) 342 goto loop; 343#ifdef INVARIANTS 344 if (!vn_isdisk(vp, NULL)) | 1/*- 2 * Copyright (c) 2002, 2003 Networks Associates Technology, Inc. 3 * All rights reserved. 4 * 5 * This software was developed for the FreeBSD Project by Marshall 6 * Kirk McKusick and Network Associates Laboratories, the Security 7 * Research Division of Network Associates, Inc. under DARPA/SPAWAR 8 * contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS --- 328 unchanged lines hidden (view full) --- 337 BO_LOCK(bo); 338 } 339 /* switch between sync/async. */ 340 wait = !wait; 341 if (wait == 1 || ++passes < NIADDR + 2) 342 goto loop; 343#ifdef INVARIANTS 344 if (!vn_isdisk(vp, NULL)) |
345 vprint("ffs_fsync: dirty", vp); | 345 vn_printf(vp, "ffs_fsync: dirty "); |
346#endif 347 } 348 BO_UNLOCK(bo); 349 error = 0; 350 if ((flags & NO_INO_UPDT) == 0) 351 error = ffs_update(vp, 1); 352 if (DOINGSUJ(vp)) 353 softdep_journal_fsync(VTOI(vp)); --- 1393 unchanged lines hidden --- | 346#endif 347 } 348 BO_UNLOCK(bo); 349 error = 0; 350 if ((flags & NO_INO_UPDT) == 0) 351 error = ffs_update(vp, 1); 352 if (DOINGSUJ(vp)) 353 softdep_journal_fsync(VTOI(vp)); --- 1393 unchanged lines hidden --- |