1/* $Id: msdosfs_vfsops.c,v 1.41 1999/03/28 23:00:33 dt Exp $ */ |
2/* $NetBSD: msdosfs_vfsops.c,v 1.51 1997/11/17 15:36:58 ws Exp $ */ 3 4/*- 5 * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank. 6 * Copyright (C) 1994, 1995, 1997 TooLs GmbH. 7 * All rights reserved. 8 * Original code by Paul Popelka (paulp@uts.amdahl.com) (see below). 9 * --- 871 unchanged lines hidden (view full) --- 881 struct denode *dep; 882 struct msdosfsmount *pmp = VFSTOMSDOSFS(mp); 883 int error, allerror = 0; 884 885 /* 886 * If we ever switch to not updating all of the fats all the time, 887 * this would be the place to update them from the first one. 888 */ |
889 if (pmp->pm_fmod != 0) { |
890 if (pmp->pm_flags & MSDOSFSMNT_RONLY) 891 panic("msdosfs_sync: rofs mod"); 892 else { 893 /* update fats here */ 894 } |
895 } |
896 /* 897 * Write back each (modified) denode. 898 */ 899 simple_lock(&mntvnode_slock); 900loop: 901 for (vp = mp->mnt_vnodelist.lh_first; vp != NULL; vp = nvp) { 902 /* 903 * If the vnode that we are about to sync is no longer --- 115 unchanged lines hidden --- |