cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c

Xin LI delphij at
Mon Oct 22 10:43:44 PDT 2007

delphij     2007-10-22 17:43:43 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/msdosfs       msdosfs_vfsops.c 
  Fixes to msdosfs dirtyflag related stuff:
   - markvoldirty() needs to write to underlying GEOM provider.  We
     have to do that *before* g_access() which sets the GEOM provider
     to read-only.
   - Remove dirty flag before free'ing iconv related resources.  The
     dirty flag removal could fail, and it is hard to revert the
     iconv-free after the fail.
   - Mark volume as dirty if we have failed to mark it clean for safe.
   - Other style fixes to the touched functions.
  Revision  Changes    Path
  1.179     +42 -26    src/sys/fs/msdosfs/msdosfs_vfsops.c

More information about the cvs-src mailing list