Date: Mon, 22 Oct 2007 17:43:44 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c Message-ID: <200710221743.l9MHhiC0078621@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2007-10-22 17:43:43 UTC
FreeBSD src repository
Modified files:
sys/fs/msdosfs msdosfs_vfsops.c
Log:
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710221743.l9MHhiC0078621>
