Deleted Added
full compact
msdosfs_vfsops.c (45098) msdosfs_vfsops.c (46568)
1/* $Id: msdosfs_vfsops.c,v 1.40 1999/01/27 22:42:09 dillon Exp $ */
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 */
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)
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 }
890 if (pmp->pm_flags & MSDOSFSMNT_RONLY)
891 panic("msdosfs_sync: rofs mod");
892 else {
893 /* update fats here */
894 }
895 }
895 /*
896 * Write back each (modified) denode.
897 */
898 simple_lock(&mntvnode_slock);
899loop:
900 for (vp = mp->mnt_vnodelist.lh_first; vp != NULL; vp = nvp) {
901 /*
902 * If the vnode that we are about to sync is no longer

--- 115 unchanged lines hidden ---
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 ---