svn commit: r245779 - stable/9/sys/ufs/ffs

2013-01-21 Thread Scott Long
Author: scottl Date: Tue Jan 22 07:40:38 2013 New Revision: 245779 URL: http://svnweb.freebsd.org/changeset/base/245779 Log: MFC r243018: - Fix a truncation bug with softdep journaling that could leak blocks on crash. When truncating a file that never made it to disk we use the

svn commit: r245778 - stable/9/sbin/fsck_ffs

2013-01-21 Thread Scott Long
Author: scottl Date: Tue Jan 22 07:38:43 2013 New Revision: 245778 URL: http://svnweb.freebsd.org/changeset/base/245778 Log: MFC r243017: - blk_equals() is too strict. If the journal entry defines more frags than we're claiming it should still be considered an exact match. This

svn commit: r245777 - in stable/9/lib/csu: amd64 arm i386-elf mips powerpc powerpc64 sparc64

2013-01-21 Thread Konstantin Belousov
Author: kib Date: Tue Jan 22 07:32:26 2013 New Revision: 245777 URL: http://svnweb.freebsd.org/changeset/base/245777 Log: MFC r245133: Only assign the environ in the startup code when environ is NULL. Note that this is not the merge, but a reimplementation of the fix, done for the not-c

svn commit: r245776 - stable/9/sys/ufs/ffs

2013-01-21 Thread Scott Long
Author: scottl Date: Tue Jan 22 07:22:58 2013 New Revision: 245776 URL: http://svnweb.freebsd.org/changeset/base/245776 Log: MFC r242924: - Fix a bug that has existed since the original softdep implementation. When a background copy of a cg is written we complete any work associated

svn commit: r245775 - stable/9/sys/ufs/ffs

2013-01-21 Thread Scott Long
Author: scottl Date: Tue Jan 22 07:18:33 2013 New Revision: 245775 URL: http://svnweb.freebsd.org/changeset/base/245775 Log: MFC r242734, 242815: - Implement BIO_FLUSH support around journal entries. This will not 100% solve power loss problems with dishonest write caches. However,

svn commit: r245774 - stable/9/sys/ufs/ffs

2013-01-21 Thread Scott Long
Author: scottl Date: Tue Jan 22 07:10:26 2013 New Revision: 245774 URL: http://svnweb.freebsd.org/changeset/base/245774 Log: MFC r242492: - In cancel_mkdir_dotdot don't panic if the inodedep is not available. If the previous diradd had already finished it could have been reclaimed

svn commit: r245763 - stable/9/sbin/newfs_msdos

2013-01-21 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jan 22 03:39:55 2013 New Revision: 245763 URL: http://svnweb.freebsd.org/changeset/base/245763 Log: MFC r245648: newfs_msdos: cosmetical cleanups - Simplify diagnostic messages. - Adopt lowercase first letters to make the messages more canonical. PR:

svn commit: r245762 - stable/9/sys/fs/ext2fs

2013-01-21 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jan 22 03:32:13 2013 New Revision: 245762 URL: http://svnweb.freebsd.org/changeset/base/245762 Log: MFC r245612: ext2fs: Add some DOINGASYNC checks to match ffs. This is mostly cosmetical. Reviewed by:bde Modified: stable/9/sys/fs/ext2fs/ext2_inode.c M